File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class ZipDeploy {
32
32
if ( isDeploymentSucceeded ) {
33
33
await context . kuduServiceUtil . postZipDeployOperation ( deploymentId , deploymentId ) ;
34
34
}
35
- await context . kuduServiceUtil . updateDeploymentStatus ( isDeploymentSucceeded , null , {
35
+ await context . kuduServiceUtil . updateDeploymentStatus ( isDeploymentSucceeded , deploymentId , {
36
36
'type' : 'Deployment' ,
37
37
'slotName' : context . appService ? context . appService . getSlot ( ) : 'production'
38
38
} ) ;
@@ -52,9 +52,9 @@ export class ZipDeploy {
52
52
}
53
53
54
54
if ( appSettings . WEBSITE_RUN_FROM_PACKAGE !== undefined &&
55
- appSettings . WEBSITE_RUN_FROM_PACKAGE . trim ( ) === '1 ' &&
55
+ appSettings . WEBSITE_RUN_FROM_PACKAGE . trim ( ) === '0 ' &&
56
56
( context . os === undefined || context . os === RuntimeStackConstant . Linux ) ) {
57
- Logger . Warn ( "Detected WEBSITE_RUN_FROM_PACKAGE is set to '1 '. If you are deploying to a Linux " +
57
+ Logger . Warn ( "Detected WEBSITE_RUN_FROM_PACKAGE is set to '0 '. If you are deploying to a Linux " +
58
58
"function app, you may need to remove this app setting." ) ;
59
59
return ;
60
60
}
You can’t perform that action at this time.
0 commit comments