summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-04 15:37:31 -0600
committerJeff Carr <[email protected]>2024-12-04 15:37:31 -0600
commit77cd0ae36e79748b56e9bf0964fee677631f9fd0 (patch)
tree7965bc6b2daf204a56d13f1a9ba0a99245115e0c /shell.go
parent4a64e3a7c292c4976eaa80891ccaff09a62e8dc2 (diff)
always run goimports. misc other changes
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell.go b/shell.go
index ae741e3..ca9d6b1 100644
--- a/shell.go
+++ b/shell.go
@@ -54,13 +54,11 @@ func (repo *Repo) strictRun(cmd []string) (bool, error) {
func (repo *Repo) Exists(filename string) bool {
if repo == nil {
- log.Warn("repo == nil for Exists()")
return false
}
testf := filepath.Join(repo.FullPath, filename)
_, err := os.Stat(testf)
if err != nil {
- log.Warn("gitpb: Exists() failed for", testf)
return false
}
return true