From 369a40291498f1a42f611f743d9d3c0c27834256 Mon Sep 17 00:00:00 2001 From: bcoe Date: Wed, 25 Nov 2020 13:24:54 -0800 Subject: [PATCH] chore: fix linting --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b3eeba5..563874f 100644 --- a/index.js +++ b/index.js @@ -7,8 +7,8 @@ const RELEASE_LABEL = 'autorelease: pending' async function main () { const bumpMinorPreMajor = Boolean(core.getInput('bump-minor-pre-major')) // TODO(bcoe): remove this log line. - console.info(typeof core.getInput('clean'), core.getInput('clean')); - const clean = core.getInput('clean') === 'false' ? false : true + console.info(typeof core.getInput('clean'), core.getInput('clean')) + const clean = core.getInput('clean') !== 'false' const monorepoTags = Boolean(core.getInput('monorepo-tags')) const packageName = core.getInput('package-name') const path = core.getInput('path') ? core.getInput('path') : undefined