File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -143,17 +143,14 @@ export async function executeDeploy(
143
143
} else {
144
144
// instantiate source tracking
145
145
// stl will decide, based on the org's properties, what needs to be done
146
- let stl : SourceTracking | undefined ;
147
- if ( ! opts [ 'dry-run' ] || ! ( await org . tracksSource ( ) ) ) {
148
- stl = await SourceTracking . create ( {
149
- org,
150
- // mdapi format deploys don't require a project, but at this point we need one
151
- project : project ?? ( await SfProject . resolve ( ) ) ,
152
- subscribeSDREvents : true ,
153
- ignoreConflicts : opts [ 'ignore-conflicts' ] ,
154
- } ) ;
155
- registry = stl . registry ;
156
- }
146
+ const stl = await SourceTracking . create ( {
147
+ org,
148
+ // mdapi format deploys don't require a project, but at this point we need one
149
+ project : project ?? ( await SfProject . resolve ( ) ) ,
150
+ subscribeSDREvents : ! opts [ 'dry-run' ] || ! ( await org . tracksSource ( ) ) ,
151
+ ignoreConflicts : opts [ 'ignore-conflicts' ] ,
152
+ } ) ;
153
+ registry = stl . registry ;
157
154
158
155
componentSet = await buildComponentSet ( opts , stl ) ;
159
156
if ( componentSet . size === 0 ) {
You can’t perform that action at this time.
0 commit comments