Skip to content

Commit

Permalink
chore: improve code readability and maintainability
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Jul 23, 2024
1 parent 7c75a12 commit 28fe8ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/lpac/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ func packageName() string {
switch runtime.GOARCH {
case "amd64", "386":
return "lpac-linux-x86_64.zip"
case "arm64":
return "lpac-linux-aarch64.zip"
default:
return "lpac-linux-" + runtime.GOARCH + ".zip"
}
case "darwin":
return "lpac-darwin-universal.zip"
default:
return ""
}
return ""
}

func download(dir, version string) error {
Expand Down

0 comments on commit 28fe8ab

Please sign in to comment.