Skip to content

Commit

Permalink
fix: ecasct recipe bundle extension check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelwan committed Jul 2, 2024
1 parent 8990b4c commit bfaa08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecsact/cli/commands/recipe-bundle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit bfaa08f

Please sign in to comment.