Skip to content

Commit

Permalink
fix(build): error on yarn build:noisy; fix integer cast for verbosity…
Browse files Browse the repository at this point in the history
… arg
  • Loading branch information
glassdimly committed Aug 23, 2019
1 parent 1fc59df commit 9332764
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/build-tools/cli.js
Expand Up @@ -15,6 +15,8 @@ const packageJson = require('./package.json');

let userConfig;

const parseIntWithRadix = string => parseInt(string, 10);

// global `bolt` cli options & meta
program
.version(packageJson.version)
Expand All @@ -26,7 +28,7 @@ program
.option(
'-v, --verbosity <amount>',
configSchema.properties.verbosity.description,
parseInt,
parseIntWithRadix,
)
.parse(process.argv);

Expand Down

0 comments on commit 9332764

Please sign in to comment.