Skip to content

Commit 8f35153

Browse files
committed
internal/wasmserve: fix error messages
1 parent 973aad1 commit 8f35153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/wasmserveutil/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var reGoVersion = regexp.MustCompile(`^go(\d+)\.(\d+)(\.(\d+))?`)
1515
func WasmExecJSURL(goVersion string) (string, error) {
1616
m := reGoVersion.FindStringSubmatch(goVersion)
1717
if len(m) == 0 {
18-
return "", fmt.Errorf("wasmserve: invalid Go version: %s", goVersion)
18+
return "", fmt.Errorf("wasmserveutil: invalid Go version: %s", goVersion)
1919
}
2020
minor, _ := strconv.Atoi(m[2])
2121

0 commit comments

Comments
 (0)