From b76d864ff64f126f00229b3a80dd374f62737e1b Mon Sep 17 00:00:00 2001 From: Lei Zhao Date: Fri, 16 Jun 2017 13:47:44 -0400 Subject: [PATCH] feat(options): don't remind if change requested --- lib/github.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github.js b/lib/github.js index 0f7e36c..0fb3272 100644 --- a/lib/github.js +++ b/lib/github.js @@ -147,8 +147,8 @@ github.prototype = { return false; - if(b.state == "APPROVED") - return true; + if(b.state == "APPROVED" || b.state == "CHANGES_REQUESTED") + return true; if(b.submitted_at < pullRequest.updated_at) return false;