mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-13 04:15:08 +00:00
Update json.test.js
This commit is contained in:
1 parent
fab62d377a
commit
515f09a19a
1 file changed
+1
-1
+1
-1
@@ -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:";
|
||||
|
||||
Reference in new issue
Block a user