From 514cefb0e5e1cc31d0428ddea6fc36d5df8d13a7 Mon Sep 17 00:00:00 2001 From: Ben Holloway Date: Wed, 9 Jun 2021 23:25:54 +1000 Subject: [PATCH] fix premature exit of test process on windows --- packages/test-my-cli/operations/exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test-my-cli/operations/exec.js b/packages/test-my-cli/operations/exec.js index 20d9a9b..93fc06d 100644 --- a/packages/test-my-cli/operations/exec.js +++ b/packages/test-my-cli/operations/exec.js @@ -100,7 +100,7 @@ exports.create = (command) => { addOrRemove(false); resolve({ index, root, caller, cwd, env, meta, code, stdout, - stderr: caughtError ? caughtError.toString() : stderr + stderr: [ stderr, caughtError ].filter(Boolean).map(String).join('\n') }); } })