mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
introduce Common struct for passing around common stuff
This commit is contained in:
parent
b4c078d565
commit
18ab086126
15 changed files with 99 additions and 74 deletions
|
@ -1,11 +1,10 @@
|
|||
package oscommands
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
"github.com/jesseduffield/lazygit/pkg/utils"
|
||||
)
|
||||
|
||||
// NewDummyOSCommand creates a new dummy OSCommand for testing
|
||||
func NewDummyOSCommand() *OSCommand {
|
||||
return NewOSCommand(utils.NewDummyLog(), config.NewDummyAppConfig())
|
||||
return NewOSCommand(utils.NewDummyCommon())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue