From 14283d1b969a3e944126b3e197865680ce36c16d Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Sat, 1 Sep 2018 19:30:44 +0000 Subject: [PATCH] fix(package): update issue-parser to version 3.0.0 --- lib/success.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/success.js b/lib/success.js index a4bc876d..4690cd29 100644 --- a/lib/success.js +++ b/lib/success.js @@ -47,7 +47,7 @@ module.exports = async (pluginConfig, context) => { return message ? issues.concat( parser(message) - .actions.filter(action => isUndefined(action.slug) || action.slug === `${owner}/${repo}`) + .actions.close.filter(action => isUndefined(action.slug) || action.slug === `${owner}/${repo}`) .map(action => ({number: parseInt(action.issue, 10)})) ) : issues; diff --git a/package.json b/package.json index b6f75089..877fddac 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "globby": "^8.0.0", "http-proxy-agent": "^2.1.0", "https-proxy-agent": "^2.2.1", - "issue-parser": "^2.2.0", + "issue-parser": "^3.0.0", "lodash": "^4.17.4", "mime": "^2.0.3", "p-filter": "^1.0.0",