diff --git a/bin/lint-staged.js b/bin/lint-staged.js index 7cfde19dc..2ed7e051f 100755 --- a/bin/lint-staged.js +++ b/bin/lint-staged.js @@ -76,7 +76,7 @@ const getMaxArgLength = () => { const options = { allowEmpty: !!cmdline.allowEmpty, - concurrent: cmdline.concurrent, + concurrent: JSON.parse(cmdline.concurrent), configPath: cmdline.config, debug: !!cmdline.debug, maxArgLength: getMaxArgLength() / 2,