From 5999b18488f29836928e538d5c9542b0884db48a Mon Sep 17 00:00:00 2001 From: Tweak Date: Thu, 19 Jan 2023 18:57:44 -0700 Subject: [PATCH] Add formatting. --- tests/json.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/json.test.js b/tests/json.test.js index 73e9ae4..708d55c 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -19,7 +19,7 @@ if (data == false) { core.setOutput('infoMessage', "Could not validate info."); core.setOutput('recordMessage', "Could not validate records."); -core.setOutput('jsonData', data) +core.setOutput('jsonData', JSON.stringify(data, null, 2)) core.setOutput('shouldComment', 'true') test('check if json file has required info', async () => { const passed = await checkInfo(data);