Skip to content

Fix unprocessable entity error when versions are present#3

Merged
andrewmcodes merged 1 commit into
masterfrom
fix-unprocessable-entity-bug
Nov 7, 2019
Merged

Fix unprocessable entity error when versions are present#3
andrewmcodes merged 1 commit into
masterfrom
fix-unprocessable-entity-bug

Conversation

@andrewmcodes
Copy link
Copy Markdown
Owner

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.

Ports over the changes made to fix andrewmcodes/rubocop-linter-action#40

Checklist

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

Ports over the changes made to fix andrewmcodes/rubocop-linter-action#40
@andrewmcodes andrewmcodes self-assigned this Nov 7, 2019
@andrewmcodes andrewmcodes merged commit 586fb5b into master Nov 7, 2019
@andrewmcodes andrewmcodes deleted the fix-unprocessable-entity-bug branch November 7, 2019 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

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