summaryrefslogtreecommitdiff
path: root/test/buildtool/file_system/git_repo.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/file_system/git_repo.test.cpp')
-rw-r--r--test/buildtool/file_system/git_repo.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/file_system/git_repo.test.cpp b/test/buildtool/file_system/git_repo.test.cpp
index 73d37e1d..66293fba 100644
--- a/test/buildtool/file_system/git_repo.test.cpp
+++ b/test/buildtool/file_system/git_repo.test.cpp
@@ -78,7 +78,7 @@ class TestUtils {
: (*repo_path / ".git").string()),
QuoteForShell(repo_path->string()));
if (std::system(cmd.c_str()) == 0) {
- return *repo_path;
+ return repo_path;
}
return std::nullopt;
}