SvanBoxel / delete-merged-branch

No more manually deleting merged branches, this lovely app does it for you.
https://github.com/apps/delete-merged-branch/
ISC License
323 stars 55 forks source link

fix(bug): Check for correct `merged` property #5

Closed SvanBoxel closed 6 years ago

SvanBoxel commented 6 years ago

The merged property is nested in the pull_request object. We were checking the root of the payload instead.

codecov[bot] commented 6 years ago

Codecov Report

Merging #5 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           3      3           
  Lines          16     16           
  Branches        1      1           
=====================================
  Hits           16     16
Impacted Files Coverage Δ
lib/delete-merged-branch.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 23858f4...e466398. Read the comment docs.