Update scripts/dev-runner.mjs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -162,11 +162,16 @@ async function buildPluginSdk() {
|
|||||||
["--filter", "@paperclipai/plugin-sdk", "build"],
|
["--filter", "@paperclipai/plugin-sdk", "build"],
|
||||||
{ stdio: "inherit" },
|
{ stdio: "inherit" },
|
||||||
);
|
);
|
||||||
|
if (result.signal) {
|
||||||
|
process.kill(process.pid, result.signal);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (result.code !== 0) {
|
if (result.code !== 0) {
|
||||||
console.error("[paperclip] plugin sdk build failed");
|
console.error("[paperclip] plugin sdk build failed");
|
||||||
process.exit(result.code);
|
process.exit(result.code);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
await buildPluginSdk();
|
await buildPluginSdk();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user