lint-staged
Advanced tools
Comparing version 12.1.3 to 12.1.4
@@ -57,3 +57,3 @@ import { promises as fs } from 'fs' | ||
// don't read the toplevel directly, it will lead to an posix conform path on non posix systems (cygwin) | ||
const gitRel = normalize(await execGit(['rev-parse', '--show-prefix'])) | ||
const gitRel = normalize(await execGit(['rev-parse', '--show-prefix'], { cwd })) | ||
const gitDir = determineGitDir(normalize(cwd), gitRel) | ||
@@ -60,0 +60,0 @@ const gitConfigDir = normalize(await resolveGitConfigDir(gitDir)) |
{ | ||
"name": "lint-staged", | ||
"version": "12.1.3", | ||
"version": "12.1.4", | ||
"description": "Lint files staged by git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
88593