mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Don't set showOutput explicitly
It is false by default. This way there's one less change to make in the next commit.
This commit is contained in:
@ -15,10 +15,9 @@ var GlobalContext = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
SetupConfig: func(cfg *config.AppConfig) {
|
SetupConfig: func(cfg *config.AppConfig) {
|
||||||
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
|
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
|
||||||
{
|
{
|
||||||
Key: "X",
|
Key: "X",
|
||||||
Context: "global",
|
Context: "global",
|
||||||
Command: "touch myfile",
|
Command: "touch myfile",
|
||||||
ShowOutput: false,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -15,10 +15,9 @@ var MultipleContexts = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
SetupConfig: func(cfg *config.AppConfig) {
|
SetupConfig: func(cfg *config.AppConfig) {
|
||||||
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
|
cfg.GetUserConfig().CustomCommands = []config.CustomCommand{
|
||||||
{
|
{
|
||||||
Key: "X",
|
Key: "X",
|
||||||
Context: "commits, reflogCommits",
|
Context: "commits, reflogCommits",
|
||||||
Command: "touch myfile",
|
Command: "touch myfile",
|
||||||
ShowOutput: false,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user