Comparing version 1.10.1-alpha1 to 1.10.1-alpha2
@@ -18,3 +18,3 @@ #!/usr/bin/env node | ||
copy(result); | ||
console.log('\nResult copied to clipboard'); | ||
console.log('Result copied to clipboard'); | ||
} else { | ||
@@ -38,3 +38,9 @@ console.log(result); | ||
if (!args.options.quiet) { | ||
console.log(errors.message(error)); | ||
var result = errors.message(error); | ||
if (args.options.copy) { | ||
copy(result); | ||
console.log('Result copied to clipboard'); | ||
} else { | ||
console.log(result); | ||
} | ||
} | ||
@@ -41,0 +47,0 @@ } |
@@ -70,2 +70,8 @@ var yaml = require('js-yaml'); | ||
return policy; | ||
}).catch(function (error) { | ||
if (error.code === 'ENOENT') { | ||
return {}; | ||
} | ||
throw error; | ||
}); | ||
@@ -72,0 +78,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"main": "lib/index.js", | ||
"version": "1.10.1-alpha1", | ||
"version": "1.10.1-alpha2", | ||
"directories": { | ||
@@ -56,5 +56,2 @@ "test": "test" | ||
"devDependencies": { | ||
"@snyk/registry": "2.25.0", | ||
"@snyk/vuln": "^3.0.1", | ||
"babel": "^5.8.29", | ||
"istanbul": "^0.4.0", | ||
@@ -64,2 +61,3 @@ "jscs": "^2.0.0", | ||
"proxyquire": "^1.7.3", | ||
"restify": "^4.0.4", | ||
"semantic-release": "^4.3.5", | ||
@@ -66,0 +64,0 @@ "sinon": "^1.17.2", |
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
5967375
10
4601