Skip to content

Commit

Permalink
chore: fix windows snapshot sanitation (#6987)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Aug 5, 2024
1 parent 9c36ce5 commit 136c844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/hangar/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function sanitizeOutput(output: string) {
// Normalize line endings
.replaceAll("\r\n", "\n")
// Normalize windows slashes
.replace(/\\+([a-zA-Z0-9\.]{1})/g, "/$1")
.replace(/\\+([a-zA-Z0-9\.@]{1})/g, "/$1")
// Remove line/column numbers from rust sources
.replace(/(src\/.+\.rs):\d+:\d+/g, "$1:LINE:COL")
// Remove absolute stacktraces
Expand Down

0 comments on commit 136c844

Please sign in to comment.