Skip to content

Commit

Permalink
fix(concurrent): Fix concurrent: false could not be set using config
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet committed Jan 30, 2017
1 parent b7f5972 commit 22a1d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 22a1d77

Please sign in to comment.