macisamuele / language-formatters-pre-commit-hooks

Collection of custom pre-commit hooks.
Apache License 2.0
112 stars 56 forks source link

Fix `run_command` to properly handle EOL on Windowd #189

Closed macisamuele closed 9 months ago

macisamuele commented 9 months ago

Even on windows echo returns \n, we need to update run_command tests to be aware of that.

codecov[bot] commented 9 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (f118bd8) 100.00% compared to head (037c133) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #189 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 10 10 Lines 317 317 ========================================= Hits 317 317 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.