From 89739d9c7f1a184d162722a07b6ec23c78d18467 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Sat, 6 Feb 2021 00:29:00 +0900 Subject: [PATCH] bugfix: concurrent option is not working correctly --- bin/lint-staged.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,