cmd: fix possible skipped defers for build and bake
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package cobrautil
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type ExitCodeError int
|
||||
|
||||
func (e ExitCodeError) Error() string {
|
||||
return fmt.Sprintf("exiting with code %d", int(e))
|
||||
}
|
||||
|
||||
func (e ExitCodeError) Unwrap() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user