Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed Jan 25, 2023
1 parent 41c2b34 commit 858afd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,11 @@ func (c *Config) GetProcessConfigs(appLaunching bool) (map[string]ProcessConfig,
for processName, cmdStr := range configProcesses {
cmd := make([]string, 0)
if cmdStr != "" {
cmd = shlex.Split(cmdStr, " ")
var err error
cmd, err = shlex.Split(cmdStr)
if err != nil {
return nil, fmt.Errorf("could not parse command for %s process group: %w", processName, err)
}
}
res[processName] = ProcessConfig{
Cmd: cmd,
Expand Down

0 comments on commit 858afd8

Please sign in to comment.