Skip to content
Snippets Groups Projects
Commit 96faeb0b authored by Richard Musiol's avatar Richard Musiol Committed by Brad Fitzpatrick
Browse files

misc/wasm: set non-empty default for os.Args

os.Args is usually never empty and the flag package panics if it is.
This commit makes os.Args default to ["js"] for js/wasm.

Change-Id: Iba527145686487b052da438fca40159e57e61a81
Reviewed-on: https://go-review.googlesource.com/117475


Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent afae876b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment