We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea8a36 commit f57fb3dCopy full SHA for f57fb3d
src/utils/deploy.ts
@@ -142,7 +142,9 @@ export async function executeDeploy(
142
}
143
} else {
144
let stl: SourceTracking | undefined;
145
- if (!(opts['dry-run'] ?? opts.manifest ?? opts.metadata ?? opts['source-dir'])) {
+ // 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'])) {
148
// if not dry-run, or with source-tracking enabling flags
149
// instantiate source tracking
150
// stl will decide, based on the org's properties, what needs to be done
0 commit comments