Skip to content

Commit

Permalink
Fix rebase path to u8path
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed May 25, 2022
1 parent 2e9b87d commit 406556e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions micromamba/src/constructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ construct(const fs::u8path& prefix, bool extract_conda_pkgs, bool extract_tarbal
}

nlohmann::json index;
std::ifstream index_file(index_path);
std::ifstream index_file(index_path.std_path());
index_file >> index;

if (!repodata_record.is_null())
Expand Down Expand Up @@ -174,7 +174,7 @@ construct(const fs::u8path& prefix, bool extract_conda_pkgs, bool extract_tarbal
}

LOG_TRACE << "Writing " << repodata_record_path;
std::ofstream repodata_record_of(repodata_record_path);
std::ofstream repodata_record_of(repodata_record_path.std_path());
repodata_record_of << repodata_record.dump(4);
}
}
Expand Down

0 comments on commit 406556e

Please sign in to comment.