Skip to content

Commit

Permalink
set back the cli versions so info["version"] and info["platform"] do …
Browse files Browse the repository at this point in the history
…have the tag with tinygo/wasm (#111)
  • Loading branch information
ldemailly authored Aug 5, 2024
1 parent 8a0b169 commit 520d35c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wasm/wasm_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func main() {
_, grolVersion, _ := version.FromBuildInfoPath("grol.io/grol")
if TinyGoVersion != "" { // tinygo doesn't have modules info in buildinfo nor tinygo install...
grolVersion = TinyGoVersion + " " + runtime.Compiler + runtime.Version() + " " + runtime.GOARCH + " " + runtime.GOOS
cli.LongVersion = grolVersion
cli.ShortVersion = TinyGoVersion
}
log.Infof("Grol wasm main %s", grolVersion)
done := make(chan struct{}, 0)
Expand Down

0 comments on commit 520d35c

Please sign in to comment.