gatsby-cli
Advanced tools
Comparing version 1.0.10 to 1.0.11
10
index.js
@@ -105,3 +105,2 @@ #!/usr/bin/env node | ||
var resolveCwd = require(`resolve-cwd`); | ||
var testRequireError = require(`../utils/test-require-error`); | ||
@@ -120,8 +119,5 @@ program.version(packageJson.version).usage(`[command] [options]`); | ||
} catch (err) { | ||
if (testRequireError(`package.json`, err)) { | ||
// ignore | ||
} else { | ||
report.error(`There is an error in your site's package.json`, err); | ||
process.exit(1); | ||
} | ||
// ignore | ||
console.error(`There is an error in your site's package.json`, err); | ||
process.exit(1); | ||
} | ||
@@ -128,0 +124,0 @@ |
{ | ||
"name": "gatsby-cli", | ||
"description": "Gatsby command-line interface for creating new sites and running Gatsby commands", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"author": "Kyle Mathews <mathews.kyle@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bin": { |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
16
13989
277