File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ export class CommandsService implements ICommandsService {
2828 private $helpService : IHelpService ,
2929 private $extensibilityService : IExtensibilityService ,
3030 private $optionsTracker : IOptionsTracker ,
31- private $projectDataService : IProjectDataService ) {
31+ private $projectDataService : IProjectDataService ,
32+ private $bundleValidatorHelper : IBundleValidatorHelper ) {
3233 }
3334
3435 public allCommands ( opts : { includeDevCommands : boolean } ) : string [ ] {
@@ -115,6 +116,8 @@ export class CommandsService implements ICommandsService {
115116
116117 const dashedOptions = command ? command . dashedOptions : null ;
117118 this . $options . validateOptions ( dashedOptions , projectData ) ;
119+
120+ this . $bundleValidatorHelper . validate ( projectData , "1.0.0" ) ;
118121 }
119122
120123 return this . canExecuteCommand ( commandName , commandArguments ) ;
You can’t perform that action at this time.
0 commit comments