Skip to content

Commit a6304a8

Browse files
authored
fix: ecasct recipe bundle extension check (#113)
1 parent 8990b4c commit a6304a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecsact/cli/commands/recipe-bundle.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ auto ecsact::cli::detail::recipe_bundle_command( //
6363
auto output_path = fs::path{args.at("--output").asString()};
6464

6565
if(output_path.has_extension()) {
66-
if(output_path.extension() != "ecsact-recipe-bundle") {
66+
if(output_path.extension() != ".ecsact-recipe-bundle") {
6767
ecsact::cli::report_error(
6868
"Output path extension {} is not allowed. Did you mean '--output={}'?",
6969
output_path.extension().generic_string(),

0 commit comments

Comments
 (0)