esbuild/remove-version-check.patch
Avindra Goolcharan d54b2a6bce Accepting request 989072 from home:dziobian:gulgul-ultron
- Use recommended flags
- Add Fedora build
- Add remove-version-check.patch to make the package more usable as a build require

OBS-URL: https://build.opensuse.org/request/show/989072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/esbuild?expand=0&rev=33
2022-08-16 14:44:00 +00:00

14 lines
460 B
Diff

Disable version check. This is needed so that downstream packages which may bundle different versions of
the esbuild client library can be built at all.
--- a/cmd/esbuild/main.go
+++ b/cmd/esbuild/main.go
@@ -189,7 +189,6 @@
logger.PrintErrorToStderr(osArgs,
fmt.Sprintf("Cannot start service: Host version %q does not match binary version %q",
hostVersion, esbuildVersion))
- os.Exit(1)
}
case strings.HasPrefix(arg, "--ping"):