element-desktop/break-esbuild-for-good.patch

12 lines
433 B
Diff
Raw Normal View History

diff -ru a/node_modules/esbuild/install.js b/node_modules/esbuild/install.js
--- a/node_modules/esbuild/install.js 2025-02-01 12:49:52.486000000 +0100
+++ b/node_modules/esbuild/install.js 2025-02-02 17:38:06.877612109 +0100
@@ -94,6 +94,7 @@
var toPath = path2.join(__dirname, "bin", "esbuild");
var isToPathJS = true;
function validateBinaryVersion(...command) {
+ return;
command.push("--version");
let stdout;
try {