Skip to content

Commit

Permalink
fix: exit process with error code when unexpected config provided in …
Browse files Browse the repository at this point in the history
…yaml (#657)
  • Loading branch information
smit-ghl authored Jan 26, 2024
1 parent 677dbd4 commit 612d985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli_commands.dart
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Map<String, dynamic> _yamlToMap(YamlMap yamlMap) {
print(pen("⚠️ The parameter \"${entry.key}\" was found "
"in your flutter_native_splash config, but \"${entry.key}\" "
"is not a valid flutter_native_splash parameter."));
exit(0);
exit(1);
}
if (entry.value is YamlList) {
final list = <String>[];
Expand Down

0 comments on commit 612d985

Please sign in to comment.