Skip to content

Commit

Permalink
feat: Add long path support in another spot
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelwan committed Sep 13, 2024
1 parent b5ac3db commit bd1d4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static auto read_file(fs::path path) -> std::optional<std::vector<std::byte>> {
static auto write_file(fs::path path, std::span<std::byte> data) -> bool {
if(path.has_parent_path() && !fs::exists(path.parent_path())) {
auto ec = std::error_code{};
fs::create_directories(path.parent_path(), ec);
fs::create_directories(long_path_workaround(path.parent_path()), ec);
if(ec) {
ecsact::cli::report_error(
"failed to create directory {}: {}",
Expand Down

0 comments on commit bd1d4bb

Please sign in to comment.