-
Notifications
You must be signed in to change notification settings - Fork 16
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
When using shellcheck --format=json1
, csgrep output is missing position information
#138
Labels
Comments
jamacku
added a commit
to jamacku/differential-shellcheck
that referenced
this issue
Aug 21, 2023
When using --format=json1, the csgrep output is missing defect position. Reported in: csutils/csdiff#138 Once fixed, this commit should be reverted
jamacku
added a commit
to jamacku/differential-shellcheck
that referenced
this issue
Aug 21, 2023
When using --format=json1, the csgrep output is missing defect position. Reported in: csutils/csdiff#138 Once fixed, this commit should be reverted
@jamacku Could you please paste the output of |
{
"comments": [
{
"file": "innocent-script.sh",
"line": 6,
"endLine": 6,
"column": 1,
"endColumn": 11,
"level": "warning",
"code": 2034,
"message": "UNUSED_VAR appears unused. Verify use (or export if used externally).",
"fix": null
}
]
} |
kdudka
added a commit
to kdudka/csdiff
that referenced
this issue
Aug 21, 2023
The code originally read the information from `byte-column` field while ShellCheck provided the information in the `column` field. Fixes: csutils#138 Closes: csutils#139
jamacku
added a commit
to redhat-plumbers-in-action/differential-shellcheck
that referenced
this issue
Aug 23, 2023
When using --format=json1, the csgrep output is missing defect position. Reported in: csutils/csdiff#138 Once fixed, this commit should be reverted
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to reproduce
The text was updated successfully, but these errors were encountered: