From 64f7bba9d9f9ef337a31e0293fa543c9dac7f947 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 29 Sep 2015 13:56:02 -0700 Subject: [PATCH] replace is apparently not global --- common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.js b/common.js index 276c46f..71e2fcb 100644 --- a/common.js +++ b/common.js @@ -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) {