replace all slashes instead of the first one
This commit is contained in:
parent
db0cc23743
commit
fa1b1d1c1f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ TRAVIS = process.env.COCO_TRAVIS_TEST
|
|||
|
||||
|
||||
#- regJoin replace a single '/' with '[\/\\]' so it can handle either forward or backslash
|
||||
regJoin = (s) -> new RegExp(s.replace(/\//, '[\\\/\\\\]'))
|
||||
regJoin = (s) -> new RegExp(s.replace(/\//g, '[\\\/\\\\]'))
|
||||
|
||||
|
||||
#- Build the config
|
||||
|
|
Reference in a new issue