Capture stderr in E2E plugin creation step

Keep stderr capture from the plugin creation child process to aid
debugging if the command fails in the future.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-15 02:11:14 +01:00
parent 2c952496bf
commit ff593fa8fa
+1 -7
View File
@@ -392,13 +392,7 @@ async function createPlugin(options: {
});
print('Waiting for plugin create script to be done');
try {
await child.waitForExit();
} catch (error) {
print(`stdout: ${stdout}`);
print(`stderr: ${stderr}`);
throw error;
}
await child.waitForExit();
const pluginDir = resolvePath(
appDir,