Skip to content

Commit b7c3429

Browse files
committed
fix: return mock result
1 parent e32de0e commit b7c3429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/run-context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ export class RunContextBase<GeneratorType extends BaseGenerator = DefaultGenerat
417417
env.on('compose', (_namespace, generator) => {
418418
const createCallback = method =>
419419
function (this: any, ...args) {
420-
stub.call(this, method, ...args);
420+
return stub.call(this, method, ...args);
421421
};
422422

423423
generator.spawnCommand = createCallback('spawnCommand');

0 commit comments

Comments
 (0)