lib/fs: Try EvalSymlinks without '\\?\' prefix on failure (fixes #5226) (#5227)

This commit is contained in:
Simon Frei
2018-09-26 20:28:20 +02:00
committed by Audrius Butkevicius
parent 91c3218a0c
commit 03d0f0dc34
4 changed files with 17 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ func TestMain(m *testing.M) {
panic("Cannot get absolute path to working dir")
}
dir, err = filepath.EvalSymlinks(dir)
dir, err = evalSymlinks(dir)
if err != nil {
panic("Cannot get real path to working dir")
}