fix: Await content on buildRef to fix ref error message.

This commit is contained in:
Gervwyk 2022-07-06 12:07:01 +02:00
parent 60aa95f630
commit 10379b1519

View File

@ -25,7 +25,7 @@ async function getConfigFile({ context, refDef, referencedFrom }) {
);
}
const content = context.readConfigFile(refDef.path);
const content = await context.readConfigFile(refDef.path);
if (content === null) {
throw new Error(