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> {
240240 ...flags ,
241241 'target-org' : username ,
242242 api,
243- warnCallback : this . warn . bind ( this ) ,
244243 } ,
245244 project
246245 ) ;
Original file line number Diff line number Diff line change @@ -53,11 +53,10 @@ export type DeployOptions = {
5353 'pre-destructive-changes' ?: string ;
5454 'post-destructive-changes' ?: string ;
5555 'purge-on-delete' ?: boolean ;
56- warnCallback ?: ( message : string ) => void ;
5756} ;
5857
5958/** 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' > & {
6160 wait : number ;
6261 /** whether the user passed in anything for metadata-dir (could be a folder, could be a zip) */
6362 isMdapi : boolean ;
@@ -151,10 +150,6 @@ export async function executeDeploy(
151150 subscribeSDREvents : ! opts [ 'dry-run' ] || ! ( await org . tracksSource ( ) ) ,
152151 ignoreConflicts : opts [ 'ignore-conflicts' ] ,
153152 } ) ;
154-
155- if ( ! ( await org . tracksSource ( ) ) && opts . warnCallback ) {
156- opts . warnCallback ( deployMessages . getMessage ( 'noSourceTrackingWarning' ) ) ;
157- }
158153 registry = stl . registry ;
159154
160155 componentSet = await buildComponentSet ( opts , stl ) ;
You can’t perform that action at this time.
0 commit comments