Roald87 / TcBlack

Opnionated code formatter for TwinCAT.
MIT License
105 stars 10 forks source link

Pipeline should notify in case of static code analyses warnings #67

Closed Roald87 closed 3 years ago

Roald87 commented 3 years ago

Currently the static code analyses is run, but there is no clear indication when a warning was raised due to this. For example this one:

afbeelding

Not sure how to indicate failure. Somehow need to return a number other than 0 to make the pipeline fail.

Roald87 commented 3 years ago

Maybe related to https://stackoverflow.com/questions/54771043/treatwarningsaserrors-vs-warnaserror and https://github.com/dotnet/msbuild/issues/1791