fix: improve code-size gate output and duplicate detection, fix Windows path in source-display

This commit is contained in:
quotentiroler
2026-02-09 13:18:51 -08:00
parent 65dae9a088
commit 1fad19008e
2 changed files with 57 additions and 29 deletions

View File

@@ -23,7 +23,8 @@ function tryRelative(root: string, filePath: string): string | null {
if (path.isAbsolute(rel)) {
return null;
}
return rel;
// Normalize to forward slashes for display (path.relative uses backslashes on Windows)
return rel.replaceAll("\\", "/");
}
export function resolvePluginSourceRoots(params: { workspaceDir?: string }): PluginSourceRoots {