From ac96246d245182870b862dbc17ff1d6b844ec844 Mon Sep 17 00:00:00 2001 From: Phil Date: Tue, 6 Oct 2020 15:23:29 +0200 Subject: [PATCH] added a console.log for messages --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index a6f867f..e558a44 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,7 @@ Toolkit.run(async tools => { const messages = event.commits ? event.commits.map(commit => commit.message + '\n' + commit.body) : [] const commitMessage = 'version bump to' + console.log('messages:', messages); const isVersionBump = messages.map(message => message.toLowerCase().includes(commitMessage)).includes(true) if (isVersionBump) { tools.exit.success('No action necessary!')