Skip to content

Commit 4383815

Browse files
authored
fix: concurrent option is not working correctly (#950)
1 parent 29a0b68 commit 4383815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lint-staged.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const getMaxArgLength = () => {
7676

7777
const options = {
7878
allowEmpty: !!cmdline.allowEmpty,
79-
concurrent: cmdline.concurrent,
79+
concurrent: JSON.parse(cmdline.concurrent),
8080
configPath: cmdline.config,
8181
debug: !!cmdline.debug,
8282
maxArgLength: getMaxArgLength() / 2,

0 commit comments

Comments
 (0)