Skip to content

Commit c48fe19

Browse files
authored
Fix an issue with arch value 'x64' for cljstyle
1 parent 28b0c80 commit c48fe19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cljstyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function getLatestCljstyle(githubAuth?: string): Promise<string> {
2727
export function getArtifactName(version: string): string {
2828
const [major, minor] = version.split('.').map(n => parseInt(n))
2929
const platform = os.platform()
30-
const arch = os.arch()
30+
const arch = os.arch() === 'arm64' ? 'arm64' : 'amd64'
3131

3232
if (major > 0 || minor > 15) {
3333
switch (platform) {

0 commit comments

Comments
 (0)