summaryrefslogtreecommitdiff
path: root/pkg/gonf.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-03-23 11:29:47 +0100
committerJulien Dessaux2024-03-23 14:48:09 +0100
commit4d3e266b07ab5d2e7fd11e55006649a2fe696512 (patch)
treed0f597b8efb9d5159e7542f7a087c3a571b56e0e /pkg/gonf.go
parentfeat(files): support creating intermediate directories (diff)
downloadgonf-4d3e266b07ab5d2e7fd11e55006649a2fe696512.tar.gz
gonf-4d3e266b07ab5d2e7fd11e55006649a2fe696512.tar.bz2
gonf-4d3e266b07ab5d2e7fd11e55006649a2fe696512.zip
feat(custom): implemented custom promises
Diffstat (limited to '')
-rw-r--r--pkg/gonf.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gonf.go b/pkg/gonf.go
index 363a227..7a18c91 100644
--- a/pkg/gonf.go
+++ b/pkg/gonf.go
@@ -47,6 +47,14 @@ func Resolve() (status Status) {
case REPAIRED:
continue
}
+ // ----- CustomPromises ----------------------------------------
+ status = resolveCustomPromises()
+ switch status {
+ case BROKEN:
+ return BROKEN
+ case REPAIRED:
+ continue
+ }
return
}
}