We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d64d5b commit fce944aCopy full SHA for fce944a
src/include/cli.js
@@ -241,7 +241,7 @@ class cli {
241
242
if (this.data.project) return this.data.project;
243
244
- let projects = _.uniq(_.filter(this.args, arg => !parseInt(arg)));
+ let projects = _.uniq(_.filter(this.args, arg => !Number.isNaN(new Number(arg))));
245
this.args = _.difference(this.args, projects);
246
247
return this.data.project = projects;
0 commit comments