had to cleanup a lot in relation to optional returns
This commit is contained in:
@@ -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()!
|
||||
|
||||
Reference in New Issue
Block a user