Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print rendered report if it's null or blank #1862

Merged
merged 4 commits into from
Sep 6, 2019
Merged

Print rendered report if it's null or blank #1862

merged 4 commits into from
Sep 6, 2019

Conversation

schalkms
Copy link
Member

Prints the rendered report to the given printer only if anything needs
to be rendered at all.

Prints the rendered report to the given printer only if anything needs
to be rendered at all.
This prevents printing to std.out when the silent mode is activated.
It prohibits behavior described in #1854
@arturbosch arturbosch merged commit 81716de into detekt:master Sep 6, 2019
@arturbosch arturbosch added this to the 1.0.2 milestone Sep 6, 2019
@schalkms schalkms deleted the print()-ConsoleReport branch September 8, 2019 10:20
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 17, 2019
* Print rendered report if it's null or blank

Prints the rendered report to the given printer only if anything needs
to be rendered at all.

* Move TestDetektion to detekt/test package

* Test rendered report if it's null or blank

This prevents printing to std.out when the silent mode is activated.
It prohibits behavior described in detekt#1854

* Fix line.separator related test (Windows)
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 17, 2019
* Print rendered report if it's null or blank

Prints the rendered report to the given printer only if anything needs
to be rendered at all.

* Move TestDetektion to detekt/test package

* Test rendered report if it's null or blank

This prevents printing to std.out when the silent mode is activated.
It prohibits behavior described in detekt#1854

* Fix line.separator related test (Windows)
@arturbosch arturbosch modified the milestones: 1.0.2, 1.1.0 Sep 17, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Print rendered report if it's null or blank

Prints the rendered report to the given printer only if anything needs
to be rendered at all.

* Move TestDetektion to detekt/test package

* Test rendered report if it's null or blank

This prevents printing to std.out when the silent mode is activated.
It prohibits behavior described in detekt#1854

* Fix line.separator related test (Windows)
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Print rendered report if it's null or blank

Prints the rendered report to the given printer only if anything needs
to be rendered at all.

* Move TestDetektion to detekt/test package

* Test rendered report if it's null or blank

This prevents printing to std.out when the silent mode is activated.
It prohibits behavior described in detekt#1854

* Fix line.separator related test (Windows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants