Skip to content

Commit 0005096

Browse files
committed
fix(entry): correctly output relative paths in logger output
1 parent c546e4e commit 0005096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/entry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function resolveEntry(
3535
}
3636
logger.info(
3737
nameLabel,
38-
`entry: ${color(entries.map((entry) => path.relative(cwd, entry)).join(', '))}`,
38+
`entry: ${color(entries.map((entry) => (path.isAbsolute(entry) ? path.relative(cwd, entry) : entry)).join(', '))}`,
3939
)
4040
return [entryMap, computedRoot]
4141
}

0 commit comments

Comments
 (0)