Skip to content

Commit

Permalink
Remove excess slice(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 20, 2020
1 parent 6a952a3 commit 543aead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function resolveTargets (targets, all, napi, electronCompat) {
}
// TODO: also support --lts and get versions from travis
else if (all) {
targets = abi.supportedTargets.slice(0)
targets = abi.supportedTargets
}

// Should be the default once napi is stable
Expand Down

0 comments on commit 543aead

Please sign in to comment.