This commit is contained in:
2024-08-02 14:54:29 -05:00
parent 05d5bd9fe5
commit a00e77d554
6 changed files with 12 additions and 5 deletions

View File

@ -254,6 +254,10 @@ auto read_json_file(std::string_view path, nlohmann::json &data) -> bool {
try {
auto abs_path = utils::path::absolute(path);
if (not is_file(abs_path)) {
return true;
}
std::ifstream file_stream{
abs_path.c_str(),
std::ios_base::binary | std::ios::in,