address feedback from recurse
This commit is contained in:
parent
01930c926d
commit
a6dbe946ea
|
@ -91,8 +91,9 @@ async function bundleBinary(target) {
|
|||
child.on("message", (msg) => {
|
||||
if (msg.error) {
|
||||
reject();
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -154,8 +154,9 @@ async function copySqlite(target) {
|
|||
child.on("message", (msg) => {
|
||||
if (msg.error) {
|
||||
reject();
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -176,8 +177,9 @@ async function copyEsbuild(target) {
|
|||
child.on("message", (msg) => {
|
||||
if (msg.error) {
|
||||
reject();
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
const fs = require("fs");
|
||||
|
||||
const { writeBuildTimestamp } = require("./utils");
|
||||
|
||||
const esbuild = require("esbuild");
|
||||
|
@ -49,7 +50,7 @@ const esbuildConfig = {
|
|||
],
|
||||
};
|
||||
|
||||
(async () => {
|
||||
void (async () => {
|
||||
// Create .buildTimestamp.js before starting the first build
|
||||
writeBuildTimestamp();
|
||||
// Bundles the extension into one file
|
||||
|
|
|
@ -101,8 +101,9 @@ async function installAndCopyNodeModules(packageName, toCopy) {
|
|||
child.on("message", (msg) => {
|
||||
if (msg.error) {
|
||||
reject();
|
||||
} else {
|
||||
resolve();
|
||||
}
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue