File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export async function resolveApi(existingConfigAggregator?: ConfigAggregator): P
74
74
75
75
export async function buildComponentSet ( opts : Partial < DeployOptions > , stl ?: SourceTracking ) : Promise < ComponentSet > {
76
76
// if you specify nothing, you'll get the changes, like sfdx push, as long as there's an stl
77
- if ( ! opts [ 'source-dir' ] && ! opts . manifest && ! opts . metadata && ! opts [ 'dry-run' ] && stl ) {
77
+ if ( ! opts [ 'source-dir' ] && ! opts . manifest && ! opts . metadata && stl ) {
78
78
/** localChangesAsComponentSet returned an array to support multiple sequential deploys.
79
79
* `sf` chooses not to support this so we force one ComponentSet
80
80
*/
@@ -147,7 +147,7 @@ export async function executeDeploy(
147
147
org,
148
148
// mdapi format deploys don't require a project, but at this point we need one
149
149
project : project ?? ( await SfProject . resolve ( ) ) ,
150
- subscribeSDREvents : true ,
150
+ subscribeSDREvents : ! opts [ 'dry-run' ] ,
151
151
ignoreConflicts : opts [ 'ignore-conflicts' ] ,
152
152
} ) ;
153
153
registry = stl . registry ;
You can’t perform that action at this time.
0 commit comments