-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Using --noserver picks up no issues and returns Passed even when there are issues #290
Comments
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 |
Same here 😢 > npm ls -g
/home/giermulnik/.npm-global/lib
└── npm-groovy-lint@11.1.1
> npm-groovy-lint --noserver ./test.jenkinsfile
npm-groovy-lint results in 0 linted files:
┌─────────┬───────────┬─────────────┐
│ (index) │ Severity │ Total found │
├─────────┼───────────┼─────────────┤
│ 0 │ 'Error' │ 0 │
│ 1 │ 'Warning' │ 0 │
│ 2 │ 'Info' │ 0 │
└─────────┴───────────┴─────────────┘ |
Running into the same problem as well. This is indeed #284 and the analysis here is correct: this code needs to be applied in npm-groovy-lint/lib/codenarc-caller.js Lines 62 to 72 in 6d7806b
WorkaroundPass dummy arguments before and after your file list:
|
And/or maybe npm-groovy-lint should not include quotes in the npm-groovy-lint/lib/codenarc-factory.js Line 117 in 6d7806b
|
Would anyone here submit a PR with the fix ? :) |
This problem might be solved in v13.0.0, do you still have it ? |
I confirm this now works as expected with 13.0.0. |
Thanks a lot for your feedback :) |
Summary
Running with '--noserver' does not pick up issues yet everything appears Passed
This has been run on serveral different machines and always replicates as below.
Wondering if perhaps some CodeNarc update has broken this?
Might be related to #284 ?
To Replicate
Versions
OS's
Ventura
Linux
Example
The text was updated successfully, but these errors were encountered: