Skip to content

Commit d07a7c5

Browse files
fix the configuration issue for bicep serialization (#5387)
1 parent 24094a6 commit d07a7c5

File tree

1 file changed

+2
-2
lines changed
  • src/TypeSpec.Extension/Emitter.Csharp/src

1 file changed

+2
-2
lines changed

src/TypeSpec.Extension/Emitter.Csharp/src/emitter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ export async function $onEmit(context: EmitContext<AzureCSharpEmitterOptions>) {
155155
outputFolder,
156156
examplesDir
157157
);
158-
configurations["enable-bicep-serialization"] =
159-
options["enable-bicep-serialization"];
160158
}
159+
configurations["enable-bicep-serialization"] =
160+
options["enable-bicep-serialization"];
161161
/* TODO: when we support to emit decorator list https://github.com/Azure/autorest.csharp/issues/4887, we will update to use emitted decorator to identify if it is azure-arm */
162162
/* set azure-arm */
163163

0 commit comments

Comments
 (0)