mirror of
https://github.com/onyx-and-iris/vbantxt.git
synced 2026-03-02 16:19:14 +00:00
return nil explicitly if no error
This commit is contained in:
parent
87c2afbf03
commit
a0a8159557
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user