File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/commands/project/convert Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,12 @@ export default class ConvertSourceBehavior extends SfCommand<SourceBehaviorResul
6565 getPackageDirectoriesForPreset ( this . project ! , flags . behavior ) ,
6666 ] ) ;
6767
68+ if ( ! packageDirsWithDecomposable . every ( hasMainDefault ( this . project ! . getPath ( ) ) ) ) {
69+ this . warn ( messages . getMessage ( 'mainDefaultConfirmation' ) ) ;
70+ }
71+
6872 if ( ! flags [ 'dry-run' ] ) {
6973 this . warn ( messages . getMessage ( 'basicConfirmation' ) ) ;
70- if ( ! packageDirsWithDecomposable . every ( hasMainDefault ( this . project ! . getPath ( ) ) ) ) {
71- this . warn ( messages . getMessage ( 'mainDefaultConfirmation' ) ) ;
72- }
7374 await this . confirm ( { message : 'Proceed' } ) ;
7475 }
7576 const filesToDelete = await convertToMdapi ( packageDirsWithDecomposable ) ;
You can’t perform that action at this time.
0 commit comments