-
Notifications
You must be signed in to change notification settings - Fork 942
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
jscpd linter started choking on symlinks with v3.15.5 #1400
Comments
I can only see a few container images to try to bisect this locally:
If you can give me tips for how to bisect locally then I could try that. |
We just got 3.15.5 but it has a bug, see https://github.com/github/super-linter/issues/1400
We just got 3.15.5 but it has a bug, see https://github.com/github/super-linter/issues/1400
@iainlane Will look into this and try to skip the symlinks... |
Please use |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
bump |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
I believe this is still an issue |
I agree, still an issue in {
"threshold": 10,
"reporters": [
"consoleFull"
],
"ignore": [
"**/__snapshots__/**",
"**/test/java/**",
"**/*.tfvars",
"**/README.md",
"**/*.json",
"**/*.sql"
],
"absolute": true,
"noSymlinks": true
} (I've also tried it with super-linter is using that config file:
but still we get this failure:
The referenced file is a symlinked file. |
Indeed. Can someone reopen please? @admiralAwkbar |
This issue on jscpd repo raised by my colleague @ben-marengo-msmg seems related kucherenko/jscpd#481 |
Working on the assumption that this is an issue with jscpd as opposed to super-linter (an assumption that I've made based upon kucherenko/jscpd#481) I've gotten around this by using FILTER_REGEX_EXCLUDE https://github.com/github/super-linter#environment-variables |
Could you please help me with steps to reproduce and envelopment, I've used the same config and link created with |
Hi @kucherenko , |
Hi @kucherenko , |
Hi @jamiet-msm! Yes, I can see the issue, but the issue related to fast-glob issue provided at the top, I can't fix in on jscpd side |
understood, thank you for the reply Andrey @kucherenko |
Still an issue |
Describe the bug
The first time we got super linter v3.15.5 running on https://github.com/ubuntu/ubuntu-release-metrics/ we got failures from jscpd:
It's true that it's not a directory. These files are symlinks.
The last successful run we had was with v3.14.5.
Expected behavior
Don't fail jscpd like this. If the symlink points to something inside the project then it'll be jscped anyway, so they should be ignored I think.
Steps to Reproduce
v3.14.5
)The text was updated successfully, but these errors were encountered: