Skip to content

Commit a41c487

Browse files
fix: bug (fingers crossed)
1 parent f380338 commit a41c487

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export async function resolveApi(existingConfigAggregator?: ConfigAggregator): P
7474

7575
export 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;

0 commit comments

Comments
 (0)