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;