File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,6 @@ export default class DeployMetadata extends SfCommand<DeployResultJson> {
240
240
...flags ,
241
241
'target-org' : username ,
242
242
api,
243
- warnCallback : this . warn . bind ( this ) ,
244
243
} ,
245
244
project
246
245
) ;
Original file line number Diff line number Diff line change @@ -53,11 +53,10 @@ export type DeployOptions = {
53
53
'pre-destructive-changes' ?: string ;
54
54
'post-destructive-changes' ?: string ;
55
55
'purge-on-delete' ?: boolean ;
56
- warnCallback ?: ( message : string ) => void ;
57
56
} ;
58
57
59
58
/** Manifest is expected. You cannot pass metadata and source-dir array--use those to get a manifest */
60
- export type CachedOptions = Omit < DeployOptions , 'wait' | 'metadata' | 'source-dir' | 'warnCallback' > & {
59
+ export type CachedOptions = Omit < DeployOptions , 'wait' | 'metadata' | 'source-dir' > & {
61
60
wait : number ;
62
61
/** whether the user passed in anything for metadata-dir (could be a folder, could be a zip) */
63
62
isMdapi : boolean ;
@@ -151,10 +150,6 @@ export async function executeDeploy(
151
150
subscribeSDREvents : ! opts [ 'dry-run' ] || ! ( await org . tracksSource ( ) ) ,
152
151
ignoreConflicts : opts [ 'ignore-conflicts' ] ,
153
152
} ) ;
154
-
155
- if ( ! ( await org . tracksSource ( ) ) && opts . warnCallback ) {
156
- opts . warnCallback ( deployMessages . getMessage ( 'noSourceTrackingWarning' ) ) ;
157
- }
158
153
registry = stl . registry ;
159
154
160
155
componentSet = await buildComponentSet ( opts , stl ) ;
You can’t perform that action at this time.
0 commit comments