Skip to content

Commit

Permalink
fix(dependencies): handle --no-install flag properly
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelchucks authored May 13, 2024
1 parent bcc2373 commit 9fe19b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/hooks/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ const registerInstallationHook = (

if (installArg) {
installDeps = true
} else {
}

if (installArg === false) {
installDeps = false
}

if (installArg === undefined) {
installDeps = await confirm({
message: 'Do you want to install project dependencies?',
default: true,
Expand Down

0 comments on commit 9fe19b0

Please sign in to comment.