1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-21 00:30:00 +02:00

trim down gitcommand struct some more

This commit is contained in:
Jesse Duffield
2022-01-07 20:33:34 +11:00
parent e8229f0ee0
commit ee8ff6512f
6 changed files with 58 additions and 32 deletions

View File

@ -203,7 +203,7 @@ func (gui *Gui) menuPromptFromCommand(prompt config.CustomCommandPrompt, promptR
}
// Run and save output
message, err := gui.GitCommand.Cmd.New(cmdStr).RunWithOutput()
message, err := gui.GitCommand.Custom.RunWithOutput(cmdStr)
if err != nil {
return gui.surfaceError(err)
}