@fatso83/check-commit-msg
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -12,3 +12,3 @@ #!/usr/bin/env node | ||
const fs = require("fs"); | ||
const filename = process.env["GIT_PARAMS"].split(" ")[0]; | ||
const filename = process.env["HUSKY_GIT_PARAMS"].split(" ")[0]; | ||
const fullPath = filename.replace(".git", gitRoot); | ||
@@ -15,0 +15,0 @@ const commitMsg = fs.readFileSync(fullPath).toString(); |
{ | ||
"name": "@fatso83/check-commit-msg", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"bin": "./cli.js", | ||
@@ -5,0 +5,0 @@ "description": "Check if your commit message follows Chris Beam's \"Seven rules of a good commit message\"", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
6604