Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Aug 27, 2024
1 parent c4f0b2f commit 1c1055e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const parser = parsers['json-stringify'];
exports.parsers = {
'json-stringify': {
...parser,
/**
* @param {string} text
* @param {{ filepath: string; }} options
*/
async parse(text, options) {
if (options.filepath?.endsWith('package-lock.json')) {
return parser.parse(text, options);
Expand Down

0 comments on commit 1c1055e

Please sign in to comment.