We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47be992 commit 512bd80Copy full SHA for 512bd80
rewatch/tests/utils.sh
@@ -35,7 +35,10 @@ normalize_paths() {
35
else
36
if is_windows; then
37
sed -i "s#$(pwd_prefix)##g" $1
38
+ # Then normalize backslashes to forward slashes
39
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
42
43
sed -i "s#$(pwd_prefix)##g" $1;
44
fi
0 commit comments