opencollective-postinstall
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "opencollective-postinstall", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Prompt users to donate after they install your node module with npm install", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,2 +7,3 @@ const fs = require('fs'); | ||
const packageJSONFile = '../../package.json'; | ||
var package; | ||
try { | ||
@@ -16,3 +17,3 @@ const package = require(packageJSONFile); | ||
if (typeof package === 'undefined') { | ||
if (!package) { | ||
console.log("Cannot load the `package.json` of your project"); | ||
@@ -19,0 +20,0 @@ console.log("Please make sure `opencollective-postinstall` is within the `node_modules` directory of your project.") |
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
248
14105