Skip to content

Commit

Permalink
fix: Passing app.flags config
Browse files Browse the repository at this point in the history
When passing the app flags, don't overwrite Args[0]
which holds the actual command.
  • Loading branch information
romshark committed Oct 12, 2024
1 parent abef24d commit bc0806d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func runAppLauncher(

c := exec.Command(latestBinaryPath)
if conf.App.Flags != nil {
c.Args = conf.App.Flags
c.Args = append(c.Args, conf.App.Flags...)
}

var bufOutputCombined bytes.Buffer
Expand Down

0 comments on commit bc0806d

Please sign in to comment.