Skip to content

Commit

Permalink
fix: fix missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
learosema committed Sep 25, 2024
1 parent 3d14f18 commit 27ca85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sissi.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class Sissi {
if (stats.isDirectory()) {
return null;
}
const content = (resolve || this.config.resolve)(absPath, 'utf8');
const content = await (resolve || this.config.resolve)(absPath, 'utf8');
return { content, relPath, absPath};
}

Expand Down

0 comments on commit 27ca85b

Please sign in to comment.