summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go.mod2
-rw-r--r--gonf/files.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/go.mod b/go.mod
index 3faf555..5163144 100644
--- a/go.mod
+++ b/go.mod
@@ -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