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

[BUG] ignore-paths/patterns do not work with symbolic link names #608

Open
lainets opened this issue Apr 4, 2023 · 0 comments
Open

[BUG] ignore-paths/patterns do not work with symbolic link names #608

lainets opened this issue Apr 4, 2023 · 0 comments

Comments

@lainets
Copy link

lainets commented Apr 4, 2023

Describe the bug

Adding a symlink's name to ignore-paths or -patterns does not ignore the symlink, instead you need to put the path of the symlinks destination. E.g. if you have a symlink thisisasymlink to /tmp/example and add thisisasymlink to ignore-paths, thisisasymlink will not be ignored. You have to add /tmp/example to ignore-paths instead.

To Reproduce Steps to reproduce the behavior:

  1. Create a symlink
  2. Add symlink to ignore-paths
  3. Symlink is not ignored

Expected behavior Symlink is ignored.

Environment (please complete the following information):

  • OS: Ubuntu 20.04.3
  • Tool: any
  • Prospector version 1.9.0
  • Python version 3.8.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant