std: Fix path resolution on Windows

GetCurrentDirectory returns a path with a trailing slash iff the cwd is
a root directory, making the code in `resolveWindows` return an invalid
path with two consecutive slashes.

Closes #10093
2551946a51LemonBoy committed on 11/5/2021, 1:05:14 AM· committed by Andrew Kelleyparente97feb9
2 files changedLine totals unavailable