Write ide_qeury results to stdout

All other output will be written to stderr.

Change-Id: Iefbd8292bb136e4723d5c168e4508ae183585c7c
This commit is contained in:
Michael Merg
2024-03-20 11:05:23 +00:00
parent 6d5a509efa
commit d8880abbdf
2 changed files with 5 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ llvm::Expected<std::unique_ptr<clang::tooling::CompilationDatabase>> LoadCompDB(
result.mutable_status()->set_code(::ide_query::Status::FAILURE);
result.mutable_status()->set_message("Command working dir " +
working_dir.str() +
"outside repository " + repo_dir);
" outside repository " + repo_dir);
continue;
}
working_dir = working_dir.ltrim('/');