From 27ca85b5314397f2973e21262e04c1e2998fea39 Mon Sep 17 00:00:00 2001 From: Lea Rosema Date: Wed, 25 Sep 2024 10:27:00 +0200 Subject: [PATCH] fix: fix missing await --- src/sissi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sissi.js b/src/sissi.js index b7ec790..ffd140e 100644 --- a/src/sissi.js +++ b/src/sissi.js @@ -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}; }