Skip to content

Commit

Permalink
fix: failed smoke test only when retuen different of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Jan 28, 2024
1 parent 4ebc17b commit 984a626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shape-app/api/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
if err != nil {
fmt.Printf("%s\n", err)
}
if area.GetCode() == 0 {
if area.GetCode() != 0 {
log.Fatal("fooo")
}
return nil
Expand Down

0 comments on commit 984a626

Please sign in to comment.