Skip to content

Commit ea56261

Browse files
committed
remove perf logging
1 parent 67c78fe commit ea56261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ export class DataSchemaCompiler {
689689
errorsReport.exitFile();
690690

691691
const content = babelGenerator(ast, {}, file.content).code;
692+
692693
return { ...file, content };
693694
}
694695
} catch (e: any) {
@@ -764,9 +765,8 @@ export class DataSchemaCompiler {
764765
errorsReport: ErrorReporter,
765766
options: TranspileOptions
766767
): Promise<(FileContent | undefined)> {
767-
const renderedFile = this.yamlCompiler.compileYamlWithJinjaFile(
768+
const renderedFile = await this.yamlCompiler.renderTemplate(
768769
file,
769-
errorsReport,
770770
this.standalone ? {} : this.cloneCompileContextWithGetterAlias(this.compileContext),
771771
this.pythonContext!
772772
);

0 commit comments

Comments
 (0)