Skip to content

Commit 419c168

Browse files
committed
fix build
1 parent a8c6d28 commit 419c168

File tree

1 file changed

+1
-1
lines changed
  • packages/rehype-d2/src

1 file changed

+1
-1
lines changed

packages/rehype-d2/src/d2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function d2(code: string, options: D2Options) {
3434
const fs: Record<string, string> = options.shared
3535
? { ...(await mGlob(options.shared)), index: code }
3636
: { index: code };
37-
const result = await d2Instance.compile({ fs }, options);
37+
const result = await d2Instance.compile({ fs, options });
3838

3939
let data;
4040
if (options.graphFormat) {

0 commit comments

Comments
 (0)