From bd1d4bb0655bf7913d8b17f16bead37fb341c181 Mon Sep 17 00:00:00 2001 From: Kelwan Date: Fri, 13 Sep 2024 13:03:43 -0700 Subject: [PATCH] feat: Add long path support in another spot --- ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc b/ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc index 2b36ebe..79a698c 100644 --- a/ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc +++ b/ecsact/cli/commands/recipe-bundle/build_recipe_bundle.cc @@ -123,7 +123,7 @@ static auto read_file(fs::path path) -> std::optional> { static auto write_file(fs::path path, std::span 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 {}: {}",