From 398b7f03424a7a1e3a5df7a2a629a9d1d9a57459 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Tue, 28 Aug 2018 18:47:35 +0200 Subject: [PATCH] fix(sync-utils): Change utils to match main repo and learn --- utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.js b/utils.js index 33e071ff9..438c8ecb7 100644 --- a/utils.js +++ b/utils.js @@ -1,7 +1,8 @@ export function dasherize(name) { return ('' + name) .toLowerCase() + .trim() .replace(/\s/g, '-') .replace(/[^a-z0-9\-\.]/gi, '') - .replace(/\:/g, ''); + .replace(/\./g, '-'); }