diff --git a/bin/cli.js b/bin/cli.js index 413a37d..49ab2e5 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -9,7 +9,7 @@ function camelize(str) { } function isDollarValue(str) { - return !!str.match(/^\$?\d+(,\d{3})*(\.[0-9]{2})?$/); + return !!str.match(/^\$\d+(,\d{3})*(\.[0-9]{2})?$/); } function parseDollar(str) { diff --git a/src/utils.ts b/src/utils.ts index 440294a..4ae50f3 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -223,6 +223,6 @@ export default class Utils { index === ranges.length - 1 )}: ${formatter(range.value)}` ) - .join(' '); + .join(', '); } }