diff --git a/googletest/src/gtest-filepath.cc b/googletest/src/gtest-filepath.cc index 902d8c7f..fe9be924 100644 --- a/googletest/src/gtest-filepath.cc +++ b/googletest/src/gtest-filepath.cc @@ -336,7 +336,7 @@ bool FilePath::CreateDirectoriesRecursively() const { return false; } - if (pathname_.empty() || this->DirectoryExists()) { + if (pathname_.empty() || pathname_ == kCurrentDirectoryString || this->DirectoryExists()) { return true; }