Remove extra spaces in the error messages

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