Skip to content

Commit 326acd6

Browse files
authored
Revert utils.sh (#7669)
1 parent 9f65d3d commit 326acd6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rewatch/tests/utils.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ normalize_paths() {
3535
else
3636
if is_windows; then
3737
sed -i "s#$(pwd_prefix)##g" $1
38-
# Then normalize backslashes to forward slashes
3938
sed -i "s#\\\\#/#g" $1
40-
# Finally remove any remaining drive letter paths (like D:/a/rescript/rescript/rewatch/testrepo)
41-
sed -i "s#[A-Z]:/\(a/\)\?[^:]*rescript/rescript/rewatch/testrepo##g" $1
4239
else
4340
sed -i "s#$(pwd_prefix)##g" $1;
4441
fi

0 commit comments

Comments
 (0)