Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
raftario committed May 15, 2021
1 parent 5e6cdb9 commit 9813bbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function checkCompatibility(): Promise<void> {

const arch = os.arch()
const supportedArchs = ['x64']
if (supportedArchs.includes(arch)) {
if (!supportedArchs.includes(arch)) {
throw new Error(`Unsupported arch '${arch}'`)
}
}
Expand Down

0 comments on commit 9813bbf

Please sign in to comment.