cli: fix stdout not being logged in e2e test cmd failures

This commit is contained in:
Patrik Oldsberg
2020-08-12 19:25:56 +02:00
parent ec13744b36
commit 93ee33bf7e
+3
View File
@@ -60,6 +60,9 @@ async function runPlain(cmd, options) {
});
return stdout.trim();
} catch (error) {
if (error.stdout) {
process.stdout.write(error.stdout);
}
if (error.stderr) {
process.stderr.write(error.stderr);
}