Skip to content

Commit 69e9fbc

Browse files
committed
update original content for yaml files in threads transpilation flow
1 parent a15bbac commit 69e9fbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,9 @@ export class DataSchemaCompiler {
759759
compiledFiles[file.fileName] = true;
760760

761761
if (file.convertedToJs) {
762+
const compileJsFileTimer = perfTracker.start('compileJsFile (convertedToJs)');
762763
this.compileJsFile(file, errorsReport);
764+
compileJsFileTimer.end();
763765
} else if (file.fileName.endsWith('.js')) {
764766
this.compileJsFile(file, errorsReport, { doSyntaxCheck });
765767
} else if (file.fileName.endsWith('.yml.jinja') || file.fileName.endsWith('.yaml.jinja') ||

0 commit comments

Comments
 (0)