morelinq / MoreLINQ

Extensions to LINQ to Objects
https://morelinq.github.io/
Apache License 2.0
3.63k stars 409 forks source link

Fix error handling in Windows batch scripts #984

Closed atifaziz closed 1 year ago

atifaziz commented 1 year ago

This PR fixes error handling in Windows batch script and removes use of some quirks (e.g. goto :EOF and popd do not reset the ERRORLEVEL on success) to ensure more robust propagation of errors/failures.

codecov[bot] commented 1 year ago

Codecov Report

Merging #984 (99306a9) into master (498a5e7) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 99306a9 differs from pull request most recent head c382d05. Consider uploading reports for the commit c382d05 to get more accurate results

@@           Coverage Diff           @@
##           master     #984   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files         113      113           
  Lines        3434     3434           
  Branches     1054     1054           
=======================================
  Hits         3180     3180           
  Misses        191      191           
  Partials       63       63           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more