diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-09-20 07:20:48 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-09-20 07:20:48 +0300 |
commit | 313f3181cc75b8d12468d03e6aa7ed2bf5bba871 (patch) | |
tree | 0bb5299c8caa51e747d549f0e556cf7a5ef906bd /lib | |
parent | 5550bbec106835584f5eb5be3a00fbf1d78585f4 (diff) | |
download | gitlab-ce-313f3181cc75b8d12468d03e6aa7ed2bf5bba871.tar.gz |
Remove trailing spaces from messages in Gitlab::Regexrs-trailing-spaces-in-regex-messages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/regex.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb index bc8bbf337f3..776bbcbb5d0 100644 --- a/lib/gitlab/regex.rb +++ b/lib/gitlab/regex.rb @@ -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 |