diff options
Diffstat (limited to 'test/buildtool/file_system/resolve_symlinks_map.test.cpp')
-rw-r--r-- | test/buildtool/file_system/resolve_symlinks_map.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/file_system/resolve_symlinks_map.test.cpp b/test/buildtool/file_system/resolve_symlinks_map.test.cpp index d1cd7692..01865f6d 100644 --- a/test/buildtool/file_system/resolve_symlinks_map.test.cpp +++ b/test/buildtool/file_system/resolve_symlinks_map.test.cpp @@ -103,7 +103,7 @@ auto const kBazId = std::string{"27b32561185c2825150893774953906c6daa6798"}; : (*repo_path / ".git").string()), QuoteForShell(repo_path->string())); if (std::system(cmd.c_str()) == 0) { - return *repo_path; + return repo_path; } return std::nullopt; } |