Update json.test.js

This commit is contained in:
Tweak authored and GitHub committed 2022-11-22 22:12:36 -07:00
1 parent fbf43a4fe6
commit 218081c06a
1 file changed
+2
+2
View File
@@ -5,6 +5,8 @@ const checkRecords = require('../utils/checkRecords.js');
const data = getJSON(process.env.FILES);
if (data == false) {
core.setOutput('shouldComment', 'false')
console.log('Not a subdomain file')
process.exit(0)
}
core.setOutput('infoMessage', "Could not validate info.");
core.setOutput('recordMessage', "Could not validate records.");