repro: add even more logging to HookRunner and TestRig

This commit is contained in:
Taylor Mullen
2026-02-10 09:36:34 -08:00
parent 0c04bc4cf6
commit 9b4e3e7c53
3 changed files with 19 additions and 2 deletions
+5 -1
View File
@@ -65,7 +65,11 @@ export function sanitizeTestName(name: string) {
* On Windows, this converts backslashes to forward slashes.
*/
export function normalizePath(p: string): string {
return p.replace(/\\/g, '/');
const result = p.replace(/\\/g, '/');
if (process.env['CI'] === 'true' || process.env['VERBOSE'] === 'true') {
console.log(`[normalizePath] "${p}" -> "${result}"`);
}
return result;
}
// Helper to create detailed error messages