1
0
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:
Anthony HAMON
2018-08-21 08:41:31 +02:00
parent 810155ef2f
commit 37681627ab
2 changed files with 4 additions and 12 deletions

View File

@@ -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")
}