-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello,
First thank you for this great tool :)
When using robocop check
, if there is a dangling symlink among the files, robocop will halt and I found no way to circumvent that.
Here is what I tried:
$ ln -s /non-existing-file dangling-symlink
$ ll
total 8.0K
4.0K drwxr-xr-x 2 ncarrier ncarrier 4.0K Oct 16 10:43 .
4.0K drwxrwxrwx 31 ncarrier ncarrier 4.0K Oct 16 10:42 ..
0 lrwxrwxrwx 1 ncarrier ncarrier 18 Oct 16 10:43 dangling-symlink -> /non-existing-file
$ robocop check
FatalError: File '/non-existing-file' does not exist
$ robocop check --exclude=/non-existing-file
FatalError: File '/non-existing-file' does not exist
$ robocop check --exclude=dangling-symlink
FatalError: File '/non-existing-file' does not exist
$ robocop check --exclude=${PWD}/dangling-symlink
FatalError: File '/non-existing-file' does not exist
$ robocop check --exclude=${PWD}/dangling-symlink --exclude=/non-existing-file
FatalError: File '/non-existing-file' does not exist
$ robocop --version
robocop, version 6.8.0
Maybe robocop should resolve symlinks only after applying the filtering options? Or have an option to ignore symlinks, or maybe just dangling ones?
Metadata
Metadata
Assignees
Labels
No labels