From e889130947ac629168a8e9725bfd5ce6fca062ae Mon Sep 17 00:00:00 2001 From: AI Date: Thu, 18 Aug 2022 20:00:56 +0300 Subject: [PATCH] Remove debug log --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 003376b..40689d7 100644 --- a/index.js +++ b/index.js @@ -22,11 +22,10 @@ try { if (incrementVersionCode) { const lastVersionCodeStr = newGradle.match(versionCodeRegexPattern); - console.log(`lastVersionCode = ${lastVersionCodeStr}`) const newVersionCode = parseInt(lastVersionCodeStr[2]) + 1; console.log(`lastVersionCode = ${lastVersionCodeStr}, newVersionCode = ${newVersionCode}`) newGradle = newGradle.replace(versionCodeRegexPattern, `$1${newVersionCode}`); - } + } if (versionCode.length > 0) newGradle = newGradle.replace(versionCodeRegexPattern, `$1${versionCode}`);