We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697e845 commit 051f056Copy full SHA for 051f056
1 file changed
test/cache-interceptor/cache-tests.mjs
@@ -154,7 +154,7 @@ for (let i = 0; i < testEnvironments.length; i++) {
154
stdout.push(chunk)
155
})
156
157
- cacheTestsWorkerProcess.stderr.on('error', chunk => {
+ cacheTestsWorkerProcess.stderr.on('data', chunk => {
158
159
160
@@ -171,7 +171,9 @@ let exitCode = 0
171
172
// Print the results of all the results in the order that they exist
173
for (const [code, stdout] of await Promise.all(results)) {
174
- exitCode = code
+ if (code !== 0) {
175
+ exitCode = code
176
+ }
177
178
for (const line of stdout) {
179
process.stdout.write(line)
0 commit comments