Skip to content

Commit

Permalink
fix(misc): prompt for workspace name when creating it using nx init (#…
Browse files Browse the repository at this point in the history
…18079)

(cherry picked from commit 6ce7fc5)
  • Loading branch information
leosvelperez authored and FrozenPandaz committed Jul 13, 2023
1 parent d36f055 commit 2093ccc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/command-line/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export interface InitArgs {
}

export async function initHandler(options: InitArgs) {
const args = process.argv.slice(2).join(' ');
// strip the 'init' command itself so we don't forward it
const args = process.argv.slice(3).join(' ');
const flags = parser(args, {
boolean: ['useDotNxInstallation'],
alias: {
Expand Down

0 comments on commit 2093ccc

Please sign in to comment.