File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
AzureResourceGroupDeploymentV2 Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515 "version" : {
1616 "Major" : 2 ,
1717 "Minor" : 147 ,
18- "Patch" : 1
18+ "Patch" : 2
1919 },
2020 "demands" : [],
2121 "minimumAgentVersion" : " 2.119.1" ,
Original file line number Diff line number Diff line change 1515 "version" : {
1616 "Major" : 2 ,
1717 "Minor" : 147 ,
18- "Patch" : 1
18+ "Patch" : 2
1919 },
2020 "demands" : [],
2121 "minimumAgentVersion" : " 2.119.1" ,
Original file line number Diff line number Diff line change @@ -162,7 +162,9 @@ export class ServiceClient {
162162 response = await this . beginRequest ( request ) ;
163163 tl . debug ( `Response status code : ${ response . statusCode } ` ) ;
164164 if ( response . statusCode === 202 || ( response . body && ( response . body . status == "Accepted" || response . body . status == "Running" || response . body . status == "InProgress" ) ) ) {
165- tl . debug ( `Response status : ${ response . body . status } ` ) ;
165+ if ( response . body && response . body . status ) {
166+ tl . debug ( `Response status : ${ response . body . status } ` ) ;
167+ }
166168 // If timeout; throw;
167169 if ( ! waitIndefinitely && timeout < new Date ( ) . getTime ( ) ) {
168170 throw new Error ( tl . loc ( "TimeoutWhileWaiting" ) ) ;
You can’t perform that action at this time.
0 commit comments