Skip to content

Commit 918a03c

Browse files
committed
bump autorest version from '3.3.0' to '3.4.2'
1 parent edc8980 commit 918a03c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

swagger_to_sdk_config_autorest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"meta": {
33
"autorest_options": {
4-
"version": "3.3.0",
4+
"version": "3.4.2",
55
"use": "@autorest/[email protected]",
66
"python": "",
77
"python-mode": "update",

tools/azure-sdk-tools/packaging_tools/swaggertosdk/SwaggerToSdkCore.py

+2
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def build_swaggertosdk_conf_from_json_readme(readme_file, sdk_git_id, config, ba
231231
sdk_git_short_id = sdk_git_id.split("/")[-1].lower()
232232
_LOGGER.info("Looking for tag {} in readme {}".format(sdk_git_short_id, readme_file))
233233
for swagger_to_sdk_conf in readme_as_conf:
234+
if not isinstance(swagger_to_sdk_conf, dict):
235+
continue
234236
repo = swagger_to_sdk_conf.get("repo", "")
235237
repo = repo.split("/")[-1].lower() # Be sure there is no org/login part
236238
if repo == sdk_git_short_id:

0 commit comments

Comments
 (0)