diff options
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | gonf/files.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,3 +1,3 @@ module git.adyxax.org/adyxax/gonf/v2 -go 1.21.5 +go 1.22.0 diff --git a/gonf/files.go b/gonf/files.go index 974c19c..35420d4 100644 --- a/gonf/files.go +++ b/gonf/files.go @@ -71,7 +71,7 @@ func (f *FilePromise) Resolve() { var sumFile []byte sumFile, f.err = sha256sumOfFile(filename) if f.err != nil { - if errors.Is(f.err, fs.ErrNotExist) { + if !errors.Is(f.err, fs.ErrNotExist) { slog.Error("file", "filename", f.filename, "status", f.status, "error", f.err) f.status = BROKEN return |