Fixed a minor issue related to parantheses (#1237)

This commit is contained in:
Xiaogang 2023-09-12 18:52:31 +08:00 коммит произвёл GitHub
Родитель 8412905100
Коммит 47a8f17e49
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -74,6 +74,7 @@ namespace <%- project.namespace %>
DeserializationSettings.Converters.Add(new Microsoft.Rest.Serialization.TransformationJsonConverter());
<% } -%>
DeserializationSettings.Converters.Add(new Microsoft.Rest.Azure.CloudErrorJsonConverter());
}
<%# ToDo: Add method whose group is empty, and need to check in which case the group is empty.-%>
<% var methodGroupWithoutKey = (project.state.model.operationGroups || []).filter(op => op.$key == '')
if (methodGroupWithoutKey.length > 0) {
@ -82,6 +83,5 @@ if (methodGroupWithoutKey.length > 0) {
-%>
<%- include('azureMethod', {method: method, clientPrefix: ''}) -%>
<% });} -%>
}
}
}