Skip to content

Commit d8782e9

Browse files
authored
all green (#2581)
1 parent 30c7a91 commit d8782e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/autorest.bicep/src/resources.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ChoiceSchema, CodeModel, ComplexSchema, HttpMethod, HttpParameter, Http
55
import { Channel, AutorestExtensionHost } from "@autorest/extension-base";
66
import { keys, Dictionary, values, groupBy, uniqBy, chain, flatten } from 'lodash';
77
import { success, failure, Result } from './utils';
8-
import { ScopeType, AllExceptExtension } from "bicep-types";
8+
import { ScopeType, All } from "bicep-types";
99

1010
export interface PutExample {
1111
description: string;
@@ -754,8 +754,8 @@ export function getProviderDefinitions(codeModel: CodeModel, host: AutorestExten
754754
return ScopeType.Extension;
755755
}
756756

757-
// ambiguous - fallback to all standard scopes except extension
758-
return AllExceptExtension;
757+
// ambiguous - fallback to all scopes
758+
return All;
759759
}
760760

761761
function collapseDefinitionScopes(resources: ResourceDefinition[]) {

0 commit comments

Comments
 (0)