From 22a1d774ca0c70eb1b628ded45f2e565bef0713d Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Mon, 30 Jan 2017 12:33:17 +0100 Subject: [PATCH] fix(concurrent): Fix `concurrent: false` could not be set using config --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8457dceae..b4be80289 100644 --- a/src/index.js +++ b/src/index.js @@ -27,7 +27,7 @@ cosmiconfig('lint-staged', { // result.config is the parsed configuration object // result.filepath is the path to the config file that was found const config = result.config - const concurrent = config.concurrent || true + const concurrent = typeof config.concurrent !== 'undefined' ? config.concurrent : true const gitDir = config.gitDir ? path.resolve(config.gitDir) : process.cwd() sgf.cwd = gitDir