return nil explicitly if no error

This commit is contained in:
onyx-and-iris 2026-02-16 00:10:00 +00:00
parent 87c2afbf03
commit a0a8159557

View File

@ -141,8 +141,8 @@ func run() (func(), error) {
"no VBAN commands provided; please provide at least one command as an argument",
)
}
sendCommands(client, commands)
return closer, nil
}
@ -177,7 +177,7 @@ func createClient(flags *Flags) (*vbantxt.VbanTxt, func(), error) {
}
}
return client, closer, err
return client, closer, nil
}
// sendCommands sends the provided VBAN commands using the client and logs any errors that occur.