fix: exit with code

This commit is contained in:
debugtalk
2022-10-17 21:33:15 +08:00
parent ceb4fa2ca9
commit c5f81f2593
11 changed files with 62 additions and 38 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"os"
"time"
"github.com/getsentry/sentry-go"
@@ -20,5 +21,5 @@ func main() {
}
}()
cmd.Execute()
os.Exit(cmd.Execute())
}