Remove extra spaces in the error messages

This commit is contained in:
Douglas Barbosa Alexandre 2015-12-17 19:44:28 -02:00
parent 1757e6ef65
commit e26d1b4757
1 changed files with 3 additions and 3 deletions

View File

@ -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: ", "
} }