fix: fmt args
ci/woodpecker/push/goreleaser Pipeline was successful Details
ci/woodpecker/tag/goreleaser Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-01-27 16:21:00 -06:00
parent ce1e1a1f1d
commit 2ec8d755c9
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ func (m Meta) writeShellEnv(shell string) error {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
path = "Path" path = "Path"
} }
tmpl = fmt.Sprintf("let-env %s = ($env.%s | append %%q)\n", path) tmpl = fmt.Sprintf("let-env %s[1] = ($env.%s[1] | append %%q)\n", path)
case "sh": case "sh":
tmpl = "PATH=$PATH:%s\n" tmpl = "PATH=$PATH:%s\n"
case "ps1": case "ps1":