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
7474
7575export async function buildComponentSet ( opts : Partial < DeployOptions > , stl ?: SourceTracking ) : Promise < ComponentSet > {
7676 // 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 ) {
7878 /** localChangesAsComponentSet returned an array to support multiple sequential deploys.
7979 * `sf` chooses not to support this so we force one ComponentSet
8080 */
@@ -147,7 +147,7 @@ export async function executeDeploy(
147147 org,
148148 // mdapi format deploys don't require a project, but at this point we need one
149149 project : project ?? ( await SfProject . resolve ( ) ) ,
150- subscribeSDREvents : true ,
150+ subscribeSDREvents : ! opts [ 'dry-run' ] ,
151151 ignoreConflicts : opts [ 'ignore-conflicts' ] ,
152152 } ) ;
153153 registry = stl . registry ;
You can’t perform that action at this time.
0 commit comments