Skip to content

Commit

Permalink
only check runtime and abi if explicitly set
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jan 7, 2024
1 parent da61175 commit eda3b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-gyp-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ function parseTags (file) {
function matchTags (runtime, abi) {
return function (tags) {
if (tags == null) return false
if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false
if (tags.abi !== abi && !tags.napi) return false
if (tags.runtime && tags.runtime !== runtime && !runtimeAgnostic(tags)) return false
if (tags.abi && tags.abi !== abi && !tags.napi) return false
if (tags.uv && tags.uv !== uv) return false
if (tags.armv && tags.armv !== armv) return false
if (tags.libc && tags.libc !== libc) return false
Expand Down

0 comments on commit eda3b01

Please sign in to comment.