Commit 95b9421a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rs-trailing-spaces-in-regex-messages' into 'master'

Remove trailing spaces from messages in Gitlab::Regex

See merge request !6426
parents 7ff6f507 313f3181
......@@ -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