You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also won't work with the example from the documentation.
What command/code did you try to run?
python -m robocop . and robocop .`
What is the full error message?
The file where the output should be written in is created but empty. Everything is printed to the console. If I run robocop with the ---config results/robocop.log everything works as expected.
What did you expect to happen instead?
The output is written to the file that is specified with the output in the pyproject.toml.
Operating System
Windows 10
Robocop version
5.5.4 and 5.5.0
The text was updated successfully, but these errors were encountered:
cz-lucas
changed the title
[Bug] Nothing is written to the output-file if it specified in a config-file.
[Bug] The output file keeps empty when it is only specified in the configfile.
Oct 21, 2024
Ugh, thats quite important bug. I will see if we have some tests for it and why it was not catched. Thanks for the report.
Our output handling is not the best - there is idea to rewrite it a bit so it will also solve this case hopefully. I will make sure to add tests for it
What happened?
Run robocop with the following pyproject.toml file:
It also won't work with the example from the documentation.
What command/code did you try to run?
python -m robocop .
androbocop
.`What is the full error message?
The file where the output should be written in is created but empty. Everything is printed to the console. If I run robocop with the
---config results/robocop.log
everything works as expected.What did you expect to happen instead?
The output is written to the file that is specified with the
output
in the pyproject.toml.Operating System
Windows 10
Robocop version
5.5.4 and 5.5.0
The text was updated successfully, but these errors were encountered: