File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cubejs-schema-compiler/src/compiler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments