Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

only send GitHub offenses instead of entire json output #41

Merged
merged 7 commits into from
Nov 7, 2019

Conversation

andrewmcodes
Copy link
Collaborator

@andrewmcodes andrewmcodes commented Nov 7, 2019

Bug Fix

Description

We were not actually sending GitHub our list of annotations, but rather the entire report generated from rubocop --format json. This caused there to be empty offenses in the annotations we were trying to create, which the API rejected due to missing keys.

This change ensures that we actually send our annotation list, instead of the entire report. This also negated the need for the changes in #29, which have also been removed.

Fixes #40

Checklist

  • My code follows the style guidelines of this project
  • Actions are passing

@andrewmcodes andrewmcodes changed the title issue#40 only send GitHub offenses instead of entire json output Nov 7, 2019
@andrewmcodes andrewmcodes self-assigned this Nov 7, 2019
@andrewmcodes andrewmcodes merged commit 4ef2f59 into master Nov 7, 2019
@andrewmcodes andrewmcodes deleted the issue-40 branch November 7, 2019 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Receiving Unprocessable Entity on Version 1.0.1 when errors are present
1 participant