We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675f116 commit 0da8c52Copy full SHA for 0da8c52
generator/internal/scaffold_generator.cc
@@ -101,11 +101,12 @@ std::string SiteRoot(
101
}
102
103
nlohmann::json LoadApiIndex(std::string const& googleapis_path) {
104
+ std::cout << __func__ << ": googleapis_path=" << googleapis_path << "\n";
105
auto const api_index_path = googleapis_path + "/" + kApiIndexFilename;
106
auto status = google::cloud::internal::status(api_index_path);
107
if (!exists(status)) {
108
GCP_LOG(WARNING) << "Cannot find API index file (" << api_index_path << ")";
- return {};
109
+ return nlohmann::json::value_t();
110
111
std::ifstream is(api_index_path);
112
auto index = nlohmann::json::parse(is, nullptr, false);
0 commit comments