Skip to content

Commit

Permalink
chore: helpful punct
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jun 17, 2024
1 parent 5fc8071 commit 361fd3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function getGethURI(platform, arch, version, versionCommitHash) {
return `https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-arm64-${version}-${shortHash}.tar.gz`
}

throw new Error(`Unsupported linux architecture ${arch}`)
throw new Error(`Unsupported linux architecture '${arch}'.`)
}

case 'darwin': {
Expand All @@ -182,7 +182,7 @@ function getGethURI(platform, arch, version, versionCommitHash) {
return `https://gethstore.blob.core.windows.net/builds/geth-alltools-darwin-arm64-${version}-${shortHash}.tar.gz`;
}

throw new Error(`Unsupported MacOS architecture ${arch}`)
throw new Error(`Unsupported MacOS architecture '${arch}'.`)
}

case 'win32': {
Expand All @@ -194,7 +194,7 @@ function getGethURI(platform, arch, version, versionCommitHash) {
return `https://gethstore.blob.core.windows.net/builds/geth-alltools-windows-386-${version}-${shortHash}.zip`
}

throw new Error(`Unsupported windows architecture ${arch}`)
throw new Error(`Unsupported windows architecture '${arch}'.`)
}
}

Expand Down

0 comments on commit 361fd3c

Please sign in to comment.