Remove extra spaces in the error messages

parent 1757e6ef
...@@ -24,19 +24,19 @@ class @NewBranchForm ...@@ -24,19 +24,19 @@ class @NewBranchForm
setupRestrictions: -> setupRestrictions: ->
startsWith = { startsWith = {
pattern: /^(\/|\.)/g, pattern: /^(\/|\.)/g,
prefix: "can't start with ", prefix: "can't start with",
conjunction: "or" conjunction: "or"
} }
endsWith = { endsWith = {
pattern: /(\/|\.|\.lock)$/g, pattern: /(\/|\.|\.lock)$/g,
prefix: "can't end in ", prefix: "can't end in",
conjunction: "or" conjunction: "or"
} }
characters = { characters = {
pattern: /(\s|~|\^|:|\?|\*|\[|\\|\.\.|@\{|\/{2,}){1}/g pattern: /(\s|~|\^|:|\?|\*|\[|\\|\.\.|@\{|\/{2,}){1}/g
prefix: "can't contains ", prefix: "can't contains",
conjunction: ", " conjunction: ", "
} }
......
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