diff --git a/source/dub/internal/vibecompat/inet/path.d b/source/dub/internal/vibecompat/inet/path.d index ffb1d98..8c685b5 100644 --- a/source/dub/internal/vibecompat/inet/path.d +++ b/source/dub/internal/vibecompat/inet/path.d @@ -100,7 +100,7 @@ if (m_nodes.empty) { version(Windows) { assert(!absolute, "Empty absolute path detected."); - return ".\\"; + return m_endsWithSlash ? ".\\" : "."; } else return absolute ? "/" : "./"; }