snyk-go-plugin
Advanced tools
Comparing version 1.3.8 to 1.3.9
@@ -85,4 +85,6 @@ var fs = require('fs'); | ||
if (typeof error === 'string') { | ||
if (error.indexOf('Unresolved packages:') !== -1) { | ||
var unresolvedOffset = error.indexOf('Unresolved packages:'); | ||
if (unresolvedOffset !== -1) { | ||
throw new Error( | ||
error.slice(unresolvedOffset) + '\n' + | ||
'Unresolved imports found, please run `' + | ||
@@ -89,0 +91,0 @@ syncCmdForTarget(targetFile) + '`'); |
@@ -11,3 +11,3 @@ { | ||
"scripts": { | ||
"lint": "jscs `find ./lib -name '*.js'` -v && jscs `find ./test -name '*.js'` -v", | ||
"lint": "jscs `find ./lib -name '*.js'` -v && jscs `find ./test -name '*.js' | grep -v fixtures` -v", | ||
"test-functional": "tap `ls ./test/*.test.js`", | ||
@@ -31,3 +31,3 @@ "test-system": "tap --timeout=300 `ls ./test/system/*.test.js`", | ||
}, | ||
"version": "1.3.8" | ||
"version": "1.3.9" | ||
} |
Sorry, the diff of this file is not supported yet
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
20439
285