Skip to content
Snippets Groups Projects
Commit 313f3181 authored by Robert Speicher's avatar Robert Speicher
Browse files

Remove trailing spaces from messages in Gitlab::Regex

parent 5550bbec
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment