commitplease
Advanced tools
Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "commitplease", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Validates strings as commit messages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
(function avoidSelfInstall() { | ||
var pkg = require('./package'), | ||
nameRegex = new RegExp('node_modules/' + pkg.name + '$'); | ||
if (!nameRegex.test(process.cwd())) { | ||
if (!nameRegex.test(process.cwd().replace(/\\/g, '/'))) { | ||
console.log('running install inside self, no need'); | ||
@@ -6,0 +6,0 @@ process.exit(0); |
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
9455