summaryrefslogtreecommitdiff
path: root/internal/utils/files.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/utils/files.go')
-rw-r--r--internal/utils/files.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/utils/files.go b/internal/utils/files.go
index 841c6ca78..a70d11c04 100644
--- a/internal/utils/files.go
+++ b/internal/utils/files.go
@@ -10,8 +10,10 @@ func FileExists(path string) (bool, error) {
if err == nil {
return true, nil
}
+
if os.IsNotExist(err) {
return false, nil
}
+
return true, err
}