From bfaa08fc421a991c9c4957bff47a9c96cdf09fbb Mon Sep 17 00:00:00 2001 From: Kelwan Date: Tue, 2 Jul 2024 16:00:40 -0700 Subject: [PATCH] fix: ecasct recipe bundle extension check --- ecsact/cli/commands/recipe-bundle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecsact/cli/commands/recipe-bundle.cc b/ecsact/cli/commands/recipe-bundle.cc index 9b74fcc..23073fc 100644 --- a/ecsact/cli/commands/recipe-bundle.cc +++ b/ecsact/cli/commands/recipe-bundle.cc @@ -63,7 +63,7 @@ auto ecsact::cli::detail::recipe_bundle_command( // auto output_path = fs::path{args.at("--output").asString()}; if(output_path.has_extension()) { - if(output_path.extension() != "ecsact-recipe-bundle") { + if(output_path.extension() != ".ecsact-recipe-bundle") { ecsact::cli::report_error( "Output path extension {} is not allowed. Did you mean '--output={}'?", output_path.extension().generic_string(),