Comparing version 1.10.1-alpha2 to 1.10.1-alpha3
@@ -71,4 +71,4 @@ var yaml = require('js-yaml'); | ||
}).catch(function (error) { | ||
if (error.code === 'ENOENT') { | ||
return {}; | ||
if (options.loose && error.code === 'ENOENT') { | ||
return parse({}); | ||
} | ||
@@ -75,0 +75,0 @@ |
@@ -108,2 +108,3 @@ module.exports = test; | ||
analytics.add('vulns-pre-policy', res.vulnerabilities.length); | ||
options.loose = true; // allows merge without root policy | ||
return snyk.policy.load(policyLocations, options).then(function (config) { | ||
@@ -110,0 +111,0 @@ if (res.ok) { |
@@ -5,3 +5,3 @@ { | ||
"main": "lib/index.js", | ||
"version": "1.10.1-alpha2", | ||
"version": "1.10.1-alpha3", | ||
"directories": { | ||
@@ -8,0 +8,0 @@ "test": "test" |
5967463
4699