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

@@ -2,6 +2,7 @@ module base
import freeflowuniverse.herolib.osal
import freeflowuniverse.herolib.ui.console
import freeflowuniverse.herolib.core
import os
@[params]
@@ -14,7 +15,7 @@ pub mut:
// install base will return true if it was already installed
pub fn install(args_ InstallArgs) ! {
console.print_header('install base (reset: ${args_.reset})')
pl := osal.platform()
pl := core.platform()!
mut args := args_
@@ -93,7 +94,7 @@ pub fn sshkeysinstall(args InstallArgs) ! {
pub fn develop(args InstallArgs) ! {
console.print_header('install base develop (reset: ${args.reset})')
pl := osal.platform()
pl := core.platform()!
if args.reset == false && osal.done_exists('hero_development') {
return