Skip to content

check show_report before is_atty#160

Open
teoc98 wants to merge 1 commit intoguelfoweb:masterfrom
teoc98:patch-report
Open

check show_report before is_atty#160
teoc98 wants to merge 1 commit intoguelfoweb:masterfrom
teoc98:patch-report

Conversation

@teoc98
Copy link
Copy Markdown
Contributor

@teoc98 teoc98 commented Oct 13, 2025

In the current state, if arguments --report /dev/stdin are passed, the input is read as a list of domains instead of as the JSON output from a previous scan to generate a report.
Moving the check of args.report before `checking if stdin is a tty solves the problem.

Copy link
Copy Markdown
Owner

@guelfoweb guelfoweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @teoc98

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