Environments:
- CSharpier Version: 1.0.0
- Running CSharpier via: MsBuild
- Operating System: Windows 11
- .csharpierrc Settings:
- .editorconfig Settings:
Steps to reproduce:
Run release build with setting in Directory.Package.props:
<CSharpier_LogLevel>Error</CSharpier_LogLevel>
Expected behavior:
Expected check on unformatted files to log as error.
Actual behavior:
The check runs with information level logs and outputs: "There was no file or directory found at --loglevel"
It looks like "--loglevel" is inserted into the command when it should be "--log-level".
Environments:
Steps to reproduce:
Run release build with setting in Directory.Package.props:
<CSharpier_LogLevel>Error</CSharpier_LogLevel>Expected behavior:
Expected check on unformatted files to log as error.
Actual behavior:
The check runs with information level logs and outputs: "There was no file or directory found at --loglevel"
It looks like "--loglevel" is inserted into the command when it should be "--log-level".