Skip to content

Commit 7418555

Browse files
authored
Trim the output of uname (#40)
1 parent 69b7e74 commit 7418555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function jabbaUrlSuffix(): string {
1919
const runnerOs = shell.env["RUNNER_OS"] || "undefined";
2020
switch (runnerOs.toLowerCase()) {
2121
case "linux":
22-
const arch = shell.exec("uname -m", { silent: true }).stdout;
22+
const arch = shell.exec("uname -m", { silent: true }).stdout.trim();
2323
switch (arch) {
2424
case "arm64":
2525
case "aarch64":

0 commit comments

Comments
 (0)