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

Canonicalize --exclude paths so that it works in Windows #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hokching
Copy link

@hokching hokching commented Jan 7, 2022

  1. Canonicalize paths in --exclude array
  2. Add para dump, mainly for troubleshooting in Windows (without this I will not be able to come out with the exclude argument below (see fix --exclude example in README #62 (comment)):
    java -jar log4j-detector-2021.12.20.jar --verbose --exclude="["D:\\scan\\nf\\item\\ignore", "D:\\scan\\nf\\item\\ignore2"]" d:\scan\nf

1. Canonicalize paths in --exclude array
2. Add para dump, mainly for troubleshooting in Windows (without this I will not be able to come out with the exclude argument below (see mergebase#62 (comment)):
java -jar log4j-detector-2021.12.20.jar --verbose --exclude="[\"D:\\\\scan\\\\nf\\\\item\\\\ignore\", \"D:\\\\scan\\\\nf\\\\item\\\\ignore2\"]" d:\scan\nf
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.

None yet

1 participant