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
end
def file_name_regex_message
"can contain only letters, digits, '_', '-', '@' and '.'. "
"can contain only letters, digits, '_', '-', '@' and '.'."
end
def file_path_regex
......@@ -52,7 +52,7 @@ module Gitlab
end
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
def directory_traversal_regex
......@@ -60,7 +60,7 @@ module Gitlab
end
def directory_traversal_regex_message
"cannot include directory traversal. "
"cannot include directory traversal."
end
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