Skip to content

Commit

Permalink
fix(create): name is lost from argv
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Nov 7, 2024
1 parent 5883319 commit 03a5fbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

### Patch Changes


- [#18](https://github.com/umijs/tnf/pull/18) [`c1dbe5a`](https://github.com/umijs/tnf/commit/c1dbe5aaa96bdf4d43dd85c6de72ab67be1654cb) Thanks [@sorrycc](https://github.com/sorrycc)! - feat: add generate cmd

- [#12](https://github.com/umijs/tnf/pull/12) [`dcf4979`](https://github.com/umijs/tnf/commit/dcf497971142ff5a48b70a4165fb256ac513b10e) Thanks [@xiaohuoni](https://github.com/xiaohuoni)! - feat: add preview cmd

- [#17](https://github.com/umijs/tnf/pull/17) [`4d142b3`](https://github.com/umijs/tnf/commit/4d142b363b84f47aad6e2fb9ce02306aa0af0595) Thanks [@sorrycc](https://github.com/sorrycc)! - feat: add router config
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function run(cwd: string) {
const { create } = await import('./create.js');
return create({
cwd: cwd,
name: argv.name,
name: argv._[1] as string | undefined,
template: argv.template,
});
case 'build':
Expand Down

0 comments on commit 03a5fbb

Please sign in to comment.