Update json.test.js

This commit is contained in:
Tweak authored and GitHub committed 2022-11-22 22:08:53 -07:00
1 parent fab62d377a
commit 515f09a19a
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ const data = getJSON(process.env.FILES);
core.setOutput('infoMessage', "Could not validate info.");
core.setOutput('recordMessage', "Could not validate records.");
core.setOutput('jsonData', data)
core.setOutput('shouldComment', 'true')
test('check if json file has required info', async () => {
const passed = await checkInfo(data);
let infoMessage = passed === true ? "Valid Info Provided." : passed === "unknown" ? "Error Verifying Email.\nA maintainer will have to manually verify your email.\nReason:" : "Invalid Info Provided.\nPlease check your provided info.\nReason:";