From 425cb042b997e9243ea19ea82bfaa9ccce484a5c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 22:37:11 -0600 Subject: cleanup old code --- shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell.go') diff --git a/shell.go b/shell.go index f2806d5..18aef05 100644 --- a/shell.go +++ b/shell.go @@ -55,7 +55,7 @@ func (repo *Repo) strictRun(cmd []string) (bool, error) { func (repo *Repo) Exists(filename string) bool { if repo == nil { log.Warn("repo == nil for Exists()") - panic(-1) + return false } testf := filepath.Join(repo.FullPath, filename) _, err := os.Stat(testf) -- cgit v1.2.3