Skip to content

Commit

Permalink
Trim the output of uname (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilmkd authored Jun 1, 2021
1 parent 69b7e74 commit 7418555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function jabbaUrlSuffix(): string {
const runnerOs = shell.env["RUNNER_OS"] || "undefined";
switch (runnerOs.toLowerCase()) {
case "linux":
const arch = shell.exec("uname -m", { silent: true }).stdout;
const arch = shell.exec("uname -m", { silent: true }).stdout.trim();
switch (arch) {
case "arm64":
case "aarch64":
Expand Down

0 comments on commit 7418555

Please sign in to comment.