Skip to content

Commit 406556e

Browse files
committed
Fix rebase path to u8path
1 parent 2e9b87d commit 406556e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

micromamba/src/constructor.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ construct(const fs::u8path& prefix, bool extract_conda_pkgs, bool extract_tarbal
138138
}
139139

140140
nlohmann::json index;
141-
std::ifstream index_file(index_path);
141+
std::ifstream index_file(index_path.std_path());
142142
index_file >> index;
143143

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

176176
LOG_TRACE << "Writing " << repodata_record_path;
177-
std::ofstream repodata_record_of(repodata_record_path);
177+
std::ofstream repodata_record_of(repodata_record_path.std_path());
178178
repodata_record_of << repodata_record.dump(4);
179179
}
180180
}

0 commit comments

Comments
 (0)