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 0f60759 commit 1110ddcCopy full SHA for 1110ddc
packages/cli/src/commands/test.ts
@@ -113,9 +113,9 @@ export default class TestCommand extends Command {
113
}
114
115
if (opts.docker) {
116
- runDocker.bind(this)(datasource, opts);
+ await runDocker.bind(this)(datasource, opts);
117
} else {
118
- runBinary.bind(this)(datasource, opts);
+ await runBinary.bind(this)(datasource, opts);
119
120
121
@@ -190,7 +190,7 @@ async function runBinary(
190
const child = spawn(binPath, args, { stdio: 'inherit' });
191
const [code] = await events.once(child, 'exit');
192
if (code !== 0) {
193
- this.error('Matchstick failed', { exit: 1 });
+ this.error('Matchstick exited with an error', { exit: 1 });
194
195
196
0 commit comments