Skip to content

Commit 340f673

Browse files
committed
🐛 fix: cli startup code
1 parent 35e5838 commit 340f673

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ async function run(argv) {
88
.exclude(['meta', 'semver', 'system', 'http', 'patching', 'package-manager'])
99
.create();
1010

11-
return cli.run(argv);
11+
const toolbox = await cli.run(argv);
12+
return toolbox;
1213
}
1314

1415
module.exports = { run };

src/commands/generate/service/api/api.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { filesystem } from 'gluegun';
33
import { runNgxdCLI } from '../../../../utils/cli-test-setup';
44

55
describe('Commands: [Generate] => [Service] => [Api]', () => {
6-
const name = 'gsc';
6+
const name = 'gsa';
77

88
beforeEach(() => {
99
jest.useFakeTimers();

0 commit comments

Comments
 (0)