From 6b8684fbc3478354139670cd58aeaa3dd637e14d Mon Sep 17 00:00:00 2001 From: Tweak Date: Sun, 8 Sep 2024 21:26:15 -0600 Subject: [PATCH] Update getFileName.js to remove invalid code --- utils/getFileName.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/getFileName.js b/utils/getFileName.js index c5ff20b..a866ab0 100644 --- a/utils/getFileName.js +++ b/utils/getFileName.js @@ -7,11 +7,10 @@ async function getFileName(file, data) { // Validate if the file name matches any of the target.RECORD_TYPE values const recordTypes = Object.keys(data.target); if (!recordTypes.includes(fileNameWithoutExt.toUpperCase())) { - core.setOutput('infoMessage', `File name ${fileNameWithoutExt} does not match any target.RECORD_TYPE`); return false; } else { return true; } } -module.exports = getFileName; \ No newline at end of file +module.exports = getFileName;