File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -683,13 +683,16 @@ async function init() {
683683 } ) ,
684684 )
685685
686- result . needsAutomaticallyInstallDependencies = await unwrapPrompt (
687- confirm ( {
688- message : language . needsAutomaticallyInstallDependencies . message ,
689- // TODO: default to true sometime in the future
690- initialValue : false ,
691- } ) ,
692- )
686+ if ( ! args . length ) {
687+ // skip snapshot pending prompts
688+ result . needsAutomaticallyInstallDependencies = await unwrapPrompt (
689+ confirm ( {
690+ message : language . needsAutomaticallyInstallDependencies . message ,
691+ // TODO: default to true sometime in the future
692+ initialValue : false ,
693+ } ) ,
694+ )
695+ }
693696
694697 let outroMessage = `${ language . infos . done } \n\n`
695698 if ( root !== cwd ) {
You can’t perform that action at this time.
0 commit comments