Skip to content

Commit

Permalink
fix(build): Evaluate build operators in lowdefy.yaml root.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gervwyk committed Jun 12, 2022
1 parent d091a6c commit c340b52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/build/src/build/buildRefs/recursiveBuild.js
Expand Up @@ -25,7 +25,12 @@ async function recursiveParseFile({ context, refDef, count, referencedFrom }) {
throw new Error(`Maximum recursion depth of references exceeded.`);
}
let fileContent = await getRefContent({ context, refDef, referencedFrom });
const { foundRefs, fileContentBuiltRefs } = getRefsFromFile(fileContent);
const parsedFileContent = await evaluateBuildOperators({
context,
input: fileContent,
refDef: { path: 'lowdefy.yaml' },
});
const { foundRefs, fileContentBuiltRefs } = getRefsFromFile(parsedFileContent);

const parsedFiles = {};

Expand Down

0 comments on commit c340b52

Please sign in to comment.