Skip to content

Commit 68f66a6

Browse files
committed
chore: fix tests in windows
1 parent 3c81965 commit 68f66a6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/generate.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,12 @@ export async function generateDts(
259259

260260
const entrypoint =
261261
output.kind === 'entry-point'
262-
? getOriginalEntrypointFromOutputPath(
263-
result.metafile,
264-
output.path,
265-
cwd,
262+
? cleanPath(
263+
getOriginalEntrypointFromOutputPath(
264+
result.metafile,
265+
output.path,
266+
cwd,
267+
),
266268
)
267269
: undefined
268270

0 commit comments

Comments
 (0)