summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 22:37:11 -0600
committerJeff Carr <[email protected]>2024-12-01 22:37:11 -0600
commit425cb042b997e9243ea19ea82bfaa9ccce484a5c (patch)
treeabe18d2864d003a1b98a67dcf4ec8b84158573f3 /shell.go
parentcfb5a7adc0c02ad4f5a46b212eab972f9a0d2917 (diff)
cleanup old codev0.0.17
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go2
1 files changed, 1 insertions, 1 deletions
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)