Skip to content

Commit

Permalink
fix: omit nyc config for all tap versions above 18 (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Aug 6, 2024
1 parent 6ee703d commit 6a2200d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ const getFullConfig = async ({
cjsExt: esm ? 'cjs' : 'js',
deleteJsExt: esm ? 'js' : 'cjs',
// tap
tap18: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major === 18,
// 18 and up doesn't like nyc-arg
tap18: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major >= 18,
tap16: semver.coerce(pkg.pkgJson?.devDependencies?.tap)?.major === 16,
// booleans to control application of updates
isForce,
Expand Down

0 comments on commit 6a2200d

Please sign in to comment.