Update scripts/dev-runner.mjs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
2dc3b4df24
commit
6b17f7caa8
1 changed files with 5 additions and 0 deletions
|
|
@ -162,11 +162,16 @@ async function buildPluginSdk() {
|
|||
["--filter", "@paperclipai/plugin-sdk", "build"],
|
||||
{ stdio: "inherit" },
|
||||
);
|
||||
if (result.signal) {
|
||||
process.kill(process.pid, result.signal);
|
||||
return;
|
||||
}
|
||||
if (result.code !== 0) {
|
||||
console.error("[paperclip] plugin sdk build failed");
|
||||
process.exit(result.code);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await buildPluginSdk();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue