mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 10:15:49 +00:00
Fix.
This commit is contained in:
1 parent
9c6913eb59
commit
553f84ea4a
1 file changed
+7
@@ -4,6 +4,13 @@ const checkInfo = require('../utils/checkInfo.js');
|
||||
const checkRecords = require('../utils/checkRecords.js');
|
||||
const data = getJSON(process.env.FILES);
|
||||
|
||||
if (data == 3) {
|
||||
core.setOutput('infoMessage', "Could not validate info.");
|
||||
core.setOutput('recordMessage', "Could not validate records.");
|
||||
core.setOutput('jsonData', "Could not read the JSON file, did you have an error in your syntax?")
|
||||
core.setOutput('shouldComment', 'true')
|
||||
}
|
||||
|
||||
if (data == false) {
|
||||
core.setOutput('shouldComment', 'false')
|
||||
console.log('Not a subdomain file')
|
||||
|
||||
Reference in new issue
Block a user