Skip to content

Commit 93aa391

Browse files
committed
rename env
Signed-off-by: sivchari <[email protected]>
1 parent 1830c7f commit 93aa391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,11 +1713,11 @@ func main() {
17131713
ocdCommands = strings.Split(*ocdCommandsString, ",")
17141714
}
17151715

1716-
val, ok := os.LookupEnv("TINYGOGOCOMPATIBILITY")
1716+
val, ok := os.LookupEnv("TINYGO_GOCOMPATIBILITY")
17171717
if ok {
17181718
b, err := strconv.ParseBool(val)
17191719
if err != nil {
1720-
fmt.Fprintf(os.Stderr, "could not parse TINYGOGOCOMPATIBILITY value %q: %v\n", val, err)
1720+
fmt.Fprintf(os.Stderr, "could not parse TINYGO_GOCOMPATIBILITY value %q: %v\n", val, err)
17211721
os.Exit(1)
17221722
}
17231723
*gocompatibility = b

0 commit comments

Comments
 (0)