update refs

This commit is contained in:
Pooya Parsa
2026-01-27 16:22:23 +01:00
committed by vignesh07
parent 3fd766f63a
commit 4a1b6bc008
11 changed files with 16 additions and 18 deletions

View File

@@ -86,7 +86,7 @@ const logRunner = (message) => {
};
const runNode = () => {
const nodeProcess = spawn(process.execPath, ["dist/entry.js", ...args], {
const nodeProcess = spawn(process.execPath, ["moltbot.mjs", ...args], {
cwd,
env,
stdio: "inherit",
@@ -95,7 +95,6 @@ const runNode = () => {
nodeProcess.on("exit", (exitCode, exitSignal) => {
if (exitSignal) {
process.exit(1);
return;
}
process.exit(exitCode ?? 1);
});
@@ -128,11 +127,9 @@ if (!shouldBuild()) {
build.on("exit", (code, signal) => {
if (signal) {
process.exit(1);
return;
}
if (code !== 0 && code !== null) {
process.exit(code);
return;
}
writeBuildStamp();
runNode();