mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-23 00:39:13 +02:00
rename OSCommand field to os
This commit is contained in:
@ -62,7 +62,7 @@ func (gui *Gui) dispatchSwitchToRepo(path string, reuse bool) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := commands.VerifyInGitRepo(gui.OSCommand); err != nil {
|
||||
if err := commands.VerifyInGitRepo(gui.os); err != nil {
|
||||
if err := os.Chdir(originalPath); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user