snyk-policy
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -60,6 +60,11 @@ module.exports = filterPatched; | ||
var flag = path.resolve(source, '.snyk-' + id + '.flag'); | ||
var oldFlag = path.resolve(source, '.snyk-' + vuln.id + '.flag'); | ||
var res = false; | ||
try { | ||
res = statSync(flag); | ||
} catch (e) {} | ||
} catch (e) { | ||
try { | ||
res = statSync(oldFlag); | ||
} catch (e) {} | ||
} | ||
@@ -66,0 +71,0 @@ debug('flag found for %s? %s', vuln.id); |
@@ -42,3 +42,3 @@ { | ||
}, | ||
"version": "1.5.1" | ||
"version": "1.5.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
1316077
774