Skip to content

Commit

Permalink
fix error shadowing in gengoarch
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdan3 committed Apr 22, 2024
1 parent 9f9dd2b commit 1c94cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/goarch/gengoarch.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {
}
fmt.Fprintf(&buf, "const Is%s = %d\n", strings.Title(goarch), value)
}
err := os.WriteFile("zgoarch_"+target+".go", buf.Bytes(), 0666)
err = os.WriteFile("zgoarch_"+target+".go", buf.Bytes(), 0666)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 1c94cfa

Please sign in to comment.