pipe_to_reviewdog

Function pipe_to_reviewdog 

Source
fn pipe_to_reviewdog(lines: &[String]) -> Result<()>
Expand description

Spawns reviewdog with the github-pr-review reporter and writes lines to its stdin.

JSON lines are converted to short format for compatibility with reviewdog’s clippy parser.

§Errors

Returns an error if reviewdog cannot be spawned or exits non-zero.