Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Jan 30, 2024
1 parent 99293de commit 1c86df4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/reporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ function normalizeFile (file, cwd) {
}
}
}
console.log(res, cwd)
console.log('----')
console.log('res', res)
console.log('cwd', cwd)
res = res.replace(cwd, '')
if (res.startsWith('/') || res.startsWith('\\')) {
res = res.slice(1)
}

console.log('final', cwd)
return res
}

Expand Down

0 comments on commit 1c86df4

Please sign in to comment.