Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Nov 13, 2023
1 parent b024bf7 commit a5f245c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd_gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function run-dir() {
fi
if [[ $status -eq "1" ]]; then
# Only output if there is an error: otherwise the gist comment is too long.
go build ./... &>> ${prefix}pass || status=1
go build &>> ${prefix}pass || status=1
mv ${prefix}pass ${prefix}fail
fi
}
Expand Down
2 changes: 1 addition & 1 deletion cmd_gen/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function run-dir() {
go mod init &> /dev/null || status=1
go mod tidy &> /dev/null || status=1
goimports -w *.go &> /dev/null || status=1
go build ./... &> /dev/null || status=1
go build &> /dev/null || status=1
fi
if [[ $status -eq "1" ]]; then
# Only output if there is an error: otherwise the gist comment is too long.
Expand Down

0 comments on commit a5f245c

Please sign in to comment.