lint-staged
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -27,4 +27,6 @@ import debug from 'debug' | ||
const isFn = typeof cmd === 'function' | ||
const resolved = isFn ? await cmd(files) : cmd | ||
/** Pass copy of file list to prevent mutation by function from config file. */ | ||
const resolved = isFn ? await cmd([...files]) : cmd | ||
const resolvedArray = Array.isArray(resolved) ? resolved : [resolved] // Wrap non-array command as array | ||
@@ -31,0 +33,0 @@ |
{ | ||
"name": "lint-staged", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Lint files staged by git", | ||
@@ -36,3 +36,3 @@ "license": "MIT", | ||
"postversion": "npm i --package-lock-only && git commit -am \"chore(changeset): release\"", | ||
"publish": "npx changeset tag" | ||
"tag": "npx changeset tag" | ||
}, | ||
@@ -39,0 +39,0 @@ "dependencies": { |
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
115201
1976