Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 17, 2021
1 parent 3092d25 commit 060ae6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/find-nearest-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ export async function findNearestPackage(base) {
return {license: json.license, name: author.name, url: author.url}
}

// V8 bug on Node 12.
/* c8 ignore next 2 */
return {license: undefined, name: undefined, url: undefined}
}

0 comments on commit 060ae6c

Please sign in to comment.