jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.28k stars 200 forks source link

fix: exit process with error code when unexpected config provided in YAML #657

Closed smit-ghl closed 3 months ago

smit-ghl commented 3 months ago

Current behavior:

What's change:

🐞 This PR fixes #656 .


CI/CD pipeline wasn't failing before due to process completed with success code (exit(0)):

CI-CD-pipeline-before-change

CI/CD pipeline fails with this PR changes because process now exits with error (exit(1)):

CI-CD-pipeline-after-change