When provided invalid configuration in YAML for flutter_native_splash and ran dart run flutter_native_splash:create command, process exits with 0 code. This indicates process completed successfully without any issue.
What's change:
With this PR, the process exits with error code to indicate the command failed to get executed.
🐞 This PR fixes #656 .
CI/CD pipeline wasn't failing before due to process completed with success code (exit(0)):
CI/CD pipeline fails with this PR changes because process now exits with error (exit(1)):
Current behavior:
dart run flutter_native_splash:create
command, process exits with 0 code. This indicates process completed successfully without any issue.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 fails with this PR changes because process now exits with error (
exit(1)
):