Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,4 @@ paket-files/
# Except for the release folders which contains vsts release code
!azure-devops/azext_devops/devops_sdk/*/release/
azure-devops/azext_devops/devops_sdk/*/release/release/__pycache__
.azure/devcliextensions
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Azure DevOps CLI Debug (Integrated Console)",
"type": "python",
"request": "launch",
"pythonPath": "${config:python.pythonPath}",
"python": "${command:python.interpreterPath}",
"program": "${workspaceRoot}/scripts/run_az.py",
"cwd": "${workspaceRoot}/azure-devops/",
"args": [
Expand All @@ -25,7 +25,7 @@
"WaitOnNormalExit",
"RedirectOutput"
],
"debugStdLib": true,
"justMyCode": false,
"preLaunchTask": "BuildWheel",
"env": {
"AZURE_EXTENSION_DIR": "${workspaceRoot}"
Expand Down
4 changes: 3 additions & 1 deletion azure-devops/azext_devops/dev/team/invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def invoke(area=None, resource=None,
logger.info('Content type header is None.')
is_content_available = False
elif 'json' in response.headers.get("content-type") and not out_file:
return response.json()
response_dict = response.json()
response_dict["continuation_token"] = response.headers.get('X-MS-ContinuationToken')
return response_dict

# Only handle out file scenario if the content is available (content-type is not None)
if is_content_available:
Expand Down