Commit 313f3181 authored by Robert Speicher's avatar Robert Speicher

Remove trailing spaces from messages in Gitlab::Regex

parent 5550bbec
...@@ -44,7 +44,7 @@ module Gitlab ...@@ -44,7 +44,7 @@ module Gitlab
end end
def file_name_regex_message def file_name_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'. " "can contain only letters, digits, '_', '-', '@' and '.'."
end end
def file_path_regex def file_path_regex
...@@ -52,7 +52,7 @@ module Gitlab ...@@ -52,7 +52,7 @@ module Gitlab
end end
def file_path_regex_message def file_path_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'. Separate directories with a '/'. " "can contain only letters, digits, '_', '-', '@' and '.'. Separate directories with a '/'."
end end
def directory_traversal_regex def directory_traversal_regex
...@@ -60,7 +60,7 @@ module Gitlab ...@@ -60,7 +60,7 @@ module Gitlab
end end
def directory_traversal_regex_message def directory_traversal_regex_message
"cannot include directory traversal. " "cannot include directory traversal."
end end
def archive_formats_regex def archive_formats_regex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment