Skip to content

Commit 696e276

Browse files
committed
update original content for yaml files in threads transpilation flow
1 parent 1ac8cc0 commit 696e276

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
@@ -724,6 +724,9 @@ export class DataSchemaCompiler {
724724
errorsReport.addErrors(res.errors);
725725
errorsReport.addWarnings(res.warnings);
726726

727+
file.content = res.content;
728+
file.convertedToJs = true;
729+
727730
return { ...file, content: res.content };
728731
} else {
729732
return this.yamlCompiler.transpileYamlFile(file, errorsReport);

0 commit comments

Comments
 (0)