mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
remove useless check
This commit is contained in:
@@ -18,8 +18,6 @@ func GenerateRepo(filename string) error {
|
||||
if output, err := exec.Command("bash", filename).CombinedOutput(); err != nil {
|
||||
return errors.New(string(output))
|
||||
}
|
||||
if err := os.Chdir(testPath + "repo"); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
return os.Chdir(testPath + "repo")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user