From 790029b80da327ded8d99edf0603c76b327c19a9 Mon Sep 17 00:00:00 2001 From: plainheart Date: Wed, 19 May 2021 15:31:34 +0800 Subject: [PATCH] fix: remove magic strings. --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 79a7173..d7082d8 100644 --- a/index.js +++ b/index.js @@ -83,9 +83,9 @@ module.exports = (app) => { case labelText.MISSING_DEMO: return Promise.all([ commentIssue(context, replaceAt(text.MISSING_DEMO)), - getRemoveLabel(context, 'waiting-for: community'), + getRemoveLabel(context, labelText.WAITING_FOR_COMMUNITY), context.octokit.issues.addLabels(context.issue({ - labels: ['waiting-for: author'] + labels: [labelText.WAITING_FOR_AUTHOR] })) ]);