-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix xlsx report for diff #644
Conversation
credsweeper/__main__.py
Outdated
json_filename: Optional[str] = None, | ||
xlsx_filename: Optional[str] = None) -> int: | ||
"""Scan content_provider data, print results or save them to json_filename is not None | ||
|
||
Args: | ||
args: arguments of the application | ||
content_provider: FilesProvider instance to scan data from | ||
json_filename: json type report file path or None | ||
xlsx_filename: xlsx type report file path or None | ||
json_filename: (Deprecated) json type report file path or None | ||
xlsx_filename: (Deprecated) xlsx type report file path or None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems json_filename
and xlsx_filename
can be removed from scan()
..
Could you please consider to remove those two parameters?
credsweeper/__main__.py
Outdated
@@ -270,20 +271,30 @@ def get_json_filenames(json_filename: str): | |||
return added_json_filename, deleted_json_filename |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems there get_json_filenames()
doesn't seem to be used anywhere..
Could you please remove this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fix the bug of xlsx file diff.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
Description
Please include a summary of the change and which is fixed.
.added
instead name ends_added
for JSON diff reportsHow has this been tested?
Please describe the tests that you ran to verify your changes.