Skip to content

Commit b054f9f

Browse files
authored
merge dev to main (avoid unnecessary updates to model meta) (#1637)
2 parents 6990656 + 715f2dd commit b054f9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/sdk/src/model-meta-generator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ function generateModelMetadata(
8888
writer.block(() => {
8989
writeModels(sourceFile, writer, dataModels, options);
9090
writeDeleteCascade(writer, dataModels);
91-
writeAuthModel(writer, dataModels);
9291
writeShortNameMap(options, writer);
92+
writeAuthModel(writer, dataModels);
9393
});
9494
}
9595

@@ -131,7 +131,6 @@ function writeAuthModel(writer: CodeBlockWriter, dataModels: DataModel[]) {
131131
const authModel = getAuthModel(dataModels);
132132
if (authModel) {
133133
writer.writeLine(`authModel: '${authModel.name}'`);
134-
writer.writeLine(',');
135134
}
136135
}
137136

0 commit comments

Comments
 (0)