diff options
Diffstat (limited to 'src/NeBuildKit/JSONManifestBuilder.cpp')
| -rw-r--r-- | src/NeBuildKit/JSONManifestBuilder.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/NeBuildKit/JSONManifestBuilder.cpp b/src/NeBuildKit/JSONManifestBuilder.cpp index 73dfca2..6fdef1e 100644 --- a/src/NeBuildKit/JSONManifestBuilder.cpp +++ b/src/NeBuildKit/JSONManifestBuilder.cpp @@ -27,8 +27,7 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) { path = config.path_; if (!FS::exists(path)) { - NeBuild::Logger::info() << "error: file '" << path << "' does not exist" - << std::endl; + NeBuild::Logger::info() << "error: file '" << path << "' does not exist" << std::endl; return false; } } @@ -37,8 +36,8 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) { std::ifstream json(path); if (!json.good()) { - NeBuild::Logger::info() << "error: file '" << path - << "' is not a valid nlohmann::json" << std::endl; + NeBuild::Logger::info() << "error: file '" << path << "' is not a valid nlohmann::json" + << std::endl; return false; } @@ -51,7 +50,8 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) { if (auto res = description.get<std::string>(); !res.empty()) NeBuild::Logger::info() << "description: " << res << std::endl; - } catch (...) {} + } catch (...) { + } std::string compiler = json_obj["compiler_path"].get<std::string>(); |
