lint-staged
Advanced tools
Comparing version 3.2.7 to 3.2.8
@@ -80,3 +80,3 @@ { | ||
}, | ||
"version": "3.2.7" | ||
"version": "3.2.8" | ||
} |
@@ -8,6 +8,6 @@ 'use strict' | ||
const lintersArray = Array.isArray(commands) ? commands : [commands] | ||
const execaOptions = gitDir ? { cwd: gitDir } : {} | ||
return lintersArray.map(linter => ({ | ||
title: linter, | ||
task: () => { | ||
const execaOptions = gitDir ? { cwd: gitDir } : {} | ||
try { | ||
@@ -14,0 +14,0 @@ const res = findBin(linter, pathsToLint, packageJson) |
34158