replace is apparently not global

This commit is contained in:
Girish Ramakrishnan 2015-09-29 13:56:02 -07:00
parent 3239424296
commit 64f7bba9d9
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ var gNow = ((new Date()).getTime() / 1000).toFixed();
var gEcosystem = safe.require(path.join(__dirname, '../keys/ci/ecosystem-prod.json'));
function cloudronDomain(filename) {
return 't' + path.basename(filename.replace('-',''), 'test.js') + gNow + '.smartserver.io';
return 't' + path.basename(filename.replace(/-/g,''), 'test.js') + gNow + '.smartserver.io';
}
function stripUnreachable(releases) {