Skip to content

Commit b7ddccb

Browse files
committed
update original content for yaml files in threads transpilation flow
1 parent f26f019 commit b7ddccb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cubejs-schema-compiler/src/compiler/DataSchemaCompiler.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ export class DataSchemaCompiler {
647647
errorsReport.addErrors(res.errors);
648648
errorsReport.addWarnings(res.warnings);
649649

650+
file.content = res.content;
651+
file.convertedToJs = true;
652+
650653
return { ...file, content: res.content };
651654
} else {
652655
const transpiledFile = this.yamlCompiler.transpileYamlFile(file, errorsReport);

0 commit comments

Comments
 (0)