Skip to content

Commit 8fe26e4

Browse files
chore: remove flag logic with stl
1 parent f57fb3d commit 8fe26e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils/deploy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,7 @@ export async function executeDeploy(
142142
}
143143
} else {
144144
let stl: SourceTracking | undefined;
145-
// nullish coalescing operators don't equate in this scenario
146-
// eslint-disable-next-line
147-
if (!(opts['dry-run'] || opts.manifest || opts.metadata || opts['source-dir'])) {
145+
if (!opts['dry-run']) {
148146
// if not dry-run, or with source-tracking enabling flags
149147
// instantiate source tracking
150148
// stl will decide, based on the org's properties, what needs to be done

0 commit comments

Comments
 (0)