mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-01-30 13:50:55 +08:00
fix: Await content on buildRef to fix ref error message.
This commit is contained in:
parent
60aa95f630
commit
10379b1519
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user