Skip to content

Commit d2b7dc2

Browse files
committed
Add missing await statements in CLI mode
Signed-off-by: worksofliam <[email protected]>
1 parent b9ac050 commit d2b7dc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ async function main() {
175175
const referenceFile = path.join(cwd, referencesFileName);
176176
if (await fs.exists(referenceFile)) {
177177
infoOut(`Found reference file: ${referenceFile}`);
178-
targets.handleRefsFile(referenceFile);
178+
await targets.handleRefsFile(referenceFile);
179179
}
180180

181-
targets.loadObjectsFromPaths(files);
181+
await targets.loadObjectsFromPaths(files);
182182

183183
for (const filePath of files) {
184184
const result = await targets.parseFile(filePath);

0 commit comments

Comments
 (0)