@snyk/code-client
Advanced tools
Comparing version 4.20.0 to 4.20.1
@@ -138,3 +138,9 @@ "use strict"; | ||
} | ||
return parseIgnoreRulesToGlobs(rules, dirname); | ||
try { | ||
return parseIgnoreRulesToGlobs(rules, dirname); | ||
} | ||
catch (err) { | ||
console.error('Could not parse ignore rules to glob', { path }); | ||
throw new Error('Please make sure ignore file follows correct syntax'); | ||
} | ||
} | ||
@@ -141,0 +147,0 @@ exports.parseFileIgnores = parseFileIgnores; |
@@ -94,3 +94,3 @@ { | ||
}, | ||
"version": "4.20.0" | ||
"version": "4.20.1" | ||
} |
# code-client | ||
Typescript consumer of public API | ||
Typescript consumer of the Snyk Code public API | ||
@@ -5,0 +5,0 @@ [![npm version](https://img.shields.io/npm/v/@snyk/code-client.svg?style=flat-square)](https://www.npmjs.org/package/@snyk/code-client) |
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
172433
2435