From 22594357fb43340e52eae5b840b37d62730c6ee8 Mon Sep 17 00:00:00 2001 From: Tweak Date: Tue, 28 Feb 2023 15:10:14 -0700 Subject: [PATCH] Update json.test.js --- tests/json.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/json.test.js b/tests/json.test.js index 3a1e357..6d72416 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -8,14 +8,14 @@ function setupMessages() { core.setOutput('infoMessage', "Could not validate info."); core.setOutput('recordMessage', "Could not validate records."); core.setOutput('jsonData', JSON.stringify(data, null, 2)) - core.setOutput('shouldComment', 'true') + core.setOutput('shouldComment', true) }; function outputInvalidJsonFile() { 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') + core.setOutput('shouldComment', true) } beforeAll(() => { @@ -27,7 +27,7 @@ beforeAll(() => { }; if (data == false) { - core.setOutput('shouldComment', 'false') + core.setOutput('shouldComment', false) console.log('INFO: File is not a subdomain JSON file.') return process.exit(0) };