From c1856172ec3d7f9b492a29322b8f1b5ef033fce4 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Wed, 24 Jan 2024 11:17:48 +0800 Subject: [PATCH] chore(css): use `await` --- packages/css/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/css/index.ts b/packages/css/index.ts index 06224b5f..98e7624e 100644 --- a/packages/css/index.ts +++ b/packages/css/index.ts @@ -25,7 +25,7 @@ export function create(): ServicePlugin { mtime: 0, size: 0, }, - readDirectory: async (uri) => context.env.fs?.readDirectory(uri) ?? [], + readDirectory: async (uri) => await context.env.fs?.readDirectory(uri) ?? [], }; const documentContext: css.DocumentContext = { resolveReference(ref, base) {