File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
common-npm-packages/AzureRmDeploy-common Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,13 @@ export class AzureAppService {
263263 tl . debug ( `Slot setting updated for key : ${ addProperties [ key ] . name } ` ) ;
264264 isNewValueUpdated = true ;
265265 }
266+ else if ( ( addProperties [ key ] . slotSetting == false || ( addProperties [ key ] . slotSetting == null ) ) && appSettingNames != null ) {
267+ const index = appSettingNames . indexOf ( addProperties [ key ] . name , 0 ) ;
268+ if ( index > - 1 ) {
269+ appSettingNames . splice ( index , 1 ) ;
270+ }
271+ isNewValueUpdated = true ;
272+ }
266273 }
267274
268275 if ( isNewValueUpdated ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " azure-pipelines-tasks-azurermdeploycommon" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.1 " ,
44 "description" : " Common Lib for Azure ARM REST apis" ,
55 "repository" : {
66 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments