Skip to content

Commit 33fbc09

Browse files
committed
fixup! refactor: move UI layer code to main.go
1 parent 6bc8a50 commit 33fbc09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ func run(args []string) (int, string) {
6767
LockJSON: lockJSON,
6868
Config: cfg,
6969
})
70+
if result == nil {
71+
return 0, ""
72+
}
7073
return result.Code, result.Msg
7174
}
7275

0 commit comments

Comments
 (0)