From ac7347c57da9ecb12f4c79db8042923c7e697916 Mon Sep 17 00:00:00 2001 From: JD Cargile Date: Wed, 21 Feb 2024 11:47:40 -0700 Subject: [PATCH] fix: verbose-logging bool --- src/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 4f8b02f..bf5cf7e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -25,8 +25,7 @@ async function run(): Promise { core.getInput('notification-summary') || 'GitHub Action Notification' const notificationColor = core.getInput('notification-color') || '0b93ff' const timezone = core.getInput('timezone') || 'UTC' - const verboseLogging = - core.getInput('verbose-logging').toLowerCase() === 'true' + const verboseLogging = core.getInput('verbose-logging') == 'true' const timestamp = moment() .tz(timezone) .format('dddd, MMMM Do YYYY, h:mm:ss a z')