mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 12:14:52 +00:00
Update json.test.js
This commit is contained in:
1 parent
fbf43a4fe6
commit
218081c06a
1 file changed
+2
@@ -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.");
|
||||
|
||||
Reference in new issue
Block a user