had to cleanup a lot in relation to optional returns

This commit is contained in:
2025-01-01 13:40:24 +01:00
parent cffd5e2f9c
commit 914e1f5073
135 changed files with 4165 additions and 3530 deletions

View File

@@ -18,7 +18,7 @@ pub mut:
// install restic will return true if it was already installed
pub fn build_(args BuildArgs) ! {
// make sure we install base on the node
if osal.platform() != .ubuntu {
if core.platform()!= .ubuntu {
return error('only support ubuntu for now')
}
golang.install()!