Skip to content

Commit

Permalink
Merge pull request #31 from mjomble/patch-1
Browse files Browse the repository at this point in the history
Fix for "cpus" command line parameter
  • Loading branch information
cpojer committed Aug 6, 2015
2 parents 5befdb8 + 359649c commit eb393aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function getAllFiles(paths) {
}

function run(transformFile, paths, options) {
const cpus = options.cpus ? Math.min(cpus, options.cpus) : availableCpus;
const cpus = options.cpus ? Math.min(availableCpus, options.cpus) : availableCpus;
const extensions =
options.extensions && options.extensions.split(',').map(ext => '.' + ext);
const fileChunks = [];
Expand Down

0 comments on commit eb393aa

Please sign in to comment.