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 v0.0.3
jolheiser 2023-01-27 16:30:06 -06:00
parent 2ec8d755c9
commit dd84c45c71
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[1] = ($env.%s[1] | append %%q)\n", path) tmpl = fmt.Sprintf("let-env %[1]s = ($env.%[1]s | append %%q)\n", path)
case "sh": case "sh":
tmpl = "PATH=$PATH:%s\n" tmpl = "PATH=$PATH:%s\n"
case "ps1": case "ps1":