lint-staged
Advanced tools
Comparing version 12.3.1 to 12.3.2
@@ -17,3 +17,4 @@ import { promises as fs } from 'fs' | ||
const resolveGitConfigDir = async (gitDir) => { | ||
const defaultDir = normalize(path.join(gitDir, '.git')) | ||
// Get the real path in case it's a symlink | ||
const defaultDir = normalize(await fs.realpath(path.join(gitDir, '.git'))) | ||
const stats = await fs.lstat(defaultDir) | ||
@@ -20,0 +21,0 @@ // If .git is a directory, use it |
{ | ||
"name": "lint-staged", | ||
"version": "12.3.1", | ||
"version": "12.3.2", | ||
"description": "Lint files staged by git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95686
1656