Comments (7)
I was able to reproduce this. #5499 should fix the bug :)
Thanks for reporting!
from super-linter.
Hi! Thanks for reporting this.
Since super-linter v6, JSCPD lints the entire code base and not individual files.
That snippet that you reference is to handle testing that particular linter and it's not needed otherwise.
PS: TEST_CASE_RUN
default to false
already:
Line 95 in 25cb7af
from super-linter.
Sure but when I run it without a value for TEST_CASE_RUN JSCPD doesn’t run at all. When I run it with TEST_CASE_RUN: false
it does run.
I should not have to include TEST_CASE_RUN to run JSCPD.
from super-linter.
Sure but when I run it without a value for TEST_CASE_RUN JSCPD doesn’t run at all. When I run it with
TEST_CASE_RUN: false
it does run.I should not have to include TEST_CASE_RUN to run JSCPD.
This is correct. Also, when you TEST_CASE_RUN=true
, JSCPD runs in a way that checks duplicates within each file, which is not likely what you want.
Can you include the full debug log, not just a fragment, so we can see what's going on?
from super-linter.
TEST_CASE_RUN
is not documented as a required input. If it is required the docs should say so.
Here's the full log file
from super-linter.
Let me reopen this while we investigate.
On line 1814, the process to build the file list terminates successfully, but it doesn't seem to print the expected log line about JSCPD:
super-linter/lib/functions/buildFileList.sh
Lines 239 to 243 in 25cb7af
despite TEST_CASE_RUN
being false (line 1782 in your log)
from super-linter.
Awesome thank you! And of course
from super-linter.
Related Issues (20)
- Remove color code from super-linter stdout and logfile when not needed HOT 11
- JSCPD Failures on Minor Update v6.3.1 --> v6.4.0 HOT 2
- Prevent Failures from New Linters in Minor Releases HOT 7
- Unable to remove .ruff_cache folder HOT 3
- Support Android linter HOT 1
- Behavior not supported, please either only include (VALIDATE=true) or exclude (VALIDATE=false) linters, but not both HOT 7
- Failed to deploy to production
- Superlinter workflow fail to download module error. HOT 11
- Support configuring the GitHub server URL HOT 5
- JSCPR yielding errors on files in excluded directory HOT 3
- Make the output of each linter available to users for further processing HOT 2
- v6 failing for missing default branch HOT 9
- Thank you super-linter contributors (2024-04-01..2024-04-30) HOT 1
- Missing Scope in GITHUB_ACTIONS Checks HOT 1
- Update Golang linter configuration to avoid the deprecated `linters.govet.check-shadowing` option HOT 1
- Don't require the full Git history HOT 4
- Accept an option to dump log output to github Job Summaries HOT 5
- Check: CKV2_GHA_1: "Ensure top-level permissions are not set to write-all" HOT 1
- `docs/disabling-linters.md` removed in `v6` — is this expected? HOT 3
- Configure a non-root user HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-linter.