We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sgrep-core should pipe output to stderr especially when outputting json/r2c mode, these issues should be collected under the errors key
errors
using latest sgrep-lint with the --config=r2c option on
git clone https://github.com/yaml/pyyaml /tmp/pyyaml && cd /tmp/pyyaml && git checkout 5986257f9fc978d4a61b6e0001df554f80e565cb && cd -
The following is output to stdout, but it should really go to stderr:
PB: Ast_c_build, on /analysis/inputs/public/source-code/ext/_yaml.h (exn = (Failure "/analysis/inputs/public/source-code/ext/_yaml.h:23:0: no ifdef"))
Full reference, see failure at https://dev.massive.ret2.co/jobs/544?page=1&sort_on=repo_url&sort_by=asc
The text was updated successfully, but these errors were encountered:
I can't reproduce either, or maybe I misunderstood. But for me the error does go on stderr.
$ yy -lang c -e 'XXXXX' -r2c .
(ONCE) skipping: #ifdef _MSC_VER PB: Ast_c_build, on /tmp/pyyaml/ext/_yaml.h (exn = (Failure "/tmp/pyyaml/ext/_yaml.h:23:0: no ifdef")) { "results": [] } pad@yrax:/tmp/pyyaml$ yy -lang c -e 'XXXXX' -r2c . > /tmp/res
(ONCE) skipping: #ifdef _MSC_VER PB: Ast_c_build, on /tmp/pyyaml/ext/_yaml.h (exn = (Failure "/tmp/pyyaml/ext/_yaml.h:23:0: no ifdef")) pad@yrax:/tmp/pyyaml$ cat /tmp/res { "results": [] }
Sorry, something went wrong.
aryx
No branches or pull requests
sgrep-core should pipe output to stderr especially when outputting json/r2c mode, these issues should be collected under the
errors
keyusing latest sgrep-lint with the --config=r2c option on
The following is output to stdout, but it should really go to stderr:
PB: Ast_c_build, on /analysis/inputs/public/source-code/ext/_yaml.h (exn = (Failure "/analysis/inputs/public/source-code/ext/_yaml.h:23:0: no ifdef"))
Full reference, see failure at https://dev.massive.ret2.co/jobs/544?page=1&sort_on=repo_url&sort_by=asc
The text was updated successfully, but these errors were encountered: