mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-06-20 01:19:23 +02:00
Merge pull request #198 from antham/fix-various-errors
Fix various errors reported by goreportcard
This commit is contained in:
+2
-4
@@ -26,8 +26,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