Skip to content

Commit

Permalink
🐛 fix: cli startup code
Browse files Browse the repository at this point in the history
  • Loading branch information
gleisonkz committed May 28, 2022
1 parent 35e5838 commit 340f673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ async function run(argv) {
.exclude(['meta', 'semver', 'system', 'http', 'patching', 'package-manager'])
.create();

return cli.run(argv);
const toolbox = await cli.run(argv);
return toolbox;
}

module.exports = { run };
2 changes: 1 addition & 1 deletion src/commands/generate/service/api/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { filesystem } from 'gluegun';
import { runNgxdCLI } from '../../../../utils/cli-test-setup';

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

beforeEach(() => {
jest.useFakeTimers();
Expand Down

0 comments on commit 340f673

Please sign in to comment.