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