Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Apr 11, 2024
1 parent b6614ce commit 54400b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (g *GoBuilder) saveBuilder(buildFile string) {

func (g *GoBuilder) parseArgs() {
args := []string{}
if len(os.Args) > 2 && os.Args[1] == "build" {
if len(os.Args) > 2 {
args = os.Args[2:]
}
if len(args) == 0 {
Expand Down

0 comments on commit 54400b5

Please sign in to comment.