Skip to content

Commit 22fa4d2

Browse files
committed
Switch back to DSC target scope
1 parent 4aceae0 commit 22fa4d2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ async function main(): Promise<number> {
233233
factory.addResourceType(
234234
`${type}@${version}`,
235235
bodyType,
236-
ScopeType.Extension,
237-
ScopeType.Extension,
236+
ScopeType.DesiredStateConfiguration,
237+
ScopeType.DesiredStateConfiguration,
238238
);
239239
} catch (error) {
240240
log.error(`Failed to create type for resource ${type}:`, error);
@@ -244,8 +244,8 @@ async function main(): Promise<number> {
244244
const fallbackType = factory.addResourceType(
245245
"fallback",
246246
factory.addAnyType(),
247-
ScopeType.Extension,
248-
ScopeType.Extension
247+
ScopeType.DesiredStateConfiguration,
248+
ScopeType.DesiredStateConfiguration
249249
);
250250

251251
const fallbackResource = new CrossFileTypeReference("types.json", fallbackType.index)

0 commit comments

Comments
 (0)