зеркало из https://github.com/Azure/autorest.az.git
fix-az-hider-bug (#475)
This commit is contained in:
Родитель
64aca762d3
Коммит
2a268686d6
|
@ -22,6 +22,9 @@ export class Hider {
|
|||
let operations = operationGroup.operations.filter(function cliSplitOperation(operation, index, array) {
|
||||
if (!isNullOrUndefined(operation.extensions) && !isNullOrUndefined(operation.extensions['cli-split-operation-original-operation'])) {
|
||||
let originalOperation = operation.extensions['cli-split-operation-original-operation'];
|
||||
if(isNullOrUndefined(originalOperation.extensions)) {
|
||||
return false;
|
||||
}
|
||||
if(isNullOrUndefined(originalOperation.extensions['cli-splitted-operations'])) {
|
||||
originalOperation.extensions['cli-splitted-operations'] = [];
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче