summaryrefslogtreecommitdiffstats
path: root/pkg/test/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/test/test.go')
-rw-r--r--pkg/test/test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/test/test.go b/pkg/test/test.go
index 7bdbd4c10..b5da22903 100644
--- a/pkg/test/test.go
+++ b/pkg/test/test.go
@@ -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")
}