diff options
Diffstat (limited to 'pkg/integration/integration.go')
-rw-r--r-- | pkg/integration/integration.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/integration/integration.go b/pkg/integration/integration.go index 3ae60f740..9c498e849 100644 --- a/pkg/integration/integration.go +++ b/pkg/integration/integration.go @@ -4,6 +4,7 @@ import ( "encoding/json" "fmt" "io/ioutil" + "log" "os" "os/exec" "path/filepath" @@ -210,7 +211,7 @@ func GetRootDirectory() string { path = filepath.Dir(path) if path == "/" { - panic("must run in lazygit folder or child folder") + log.Fatal("must run in lazygit folder or child folder") } } } |