dotnet / codeformatter

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
MIT License
1.24k stars 244 forks source link

CodeFormatter returns with exit code 0 on error #248

Closed hanswolff closed 3 years ago

hanswolff commented 7 years ago

Whenever an error occurs while formatting the CodeFormatter command line returns with exit code 0. In a batch script there is no easy way to find out if the formatting operation has failed. Please fix!

hanswolff commented 7 years ago

Turns out it was an easy fix, see pull request #249