Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <[email protected]>
  • Loading branch information
ijjk and styfle authored Jan 20, 2022
1 parent 1061b2a commit 54bd12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/install-swc.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const packageMap = {

let activePackage = packageMap[process.platform]?.[process.arch]?.find(
(item) => {
return typeof item.check === 'undefined' ? true : item.check()
return typeof item.check === 'undefined' || item.check()
}
)

Expand Down

0 comments on commit 54bd12a

Please sign in to comment.