From aba09a319dbcb1fdfc564e3b4b39a6efb458a852 Mon Sep 17 00:00:00 2001 From: evans-g-crsj Date: Tue, 18 Jun 2024 09:28:30 -0400 Subject: [PATCH] :pencil: Make sure a valid JSON is printed --- admin/suggestStepFnPayload.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/suggestStepFnPayload.mjs b/admin/suggestStepFnPayload.mjs index 8f20aa1..b9c966e 100644 --- a/admin/suggestStepFnPayload.mjs +++ b/admin/suggestStepFnPayload.mjs @@ -89,8 +89,8 @@ if (project === 'include') { runGenomicEtl: false, verbose: 'false', }; - console.log(payloadInc); - console.log('\n') + console.log(JSON.stringify(payloadInc, null, 4)); + console.log('\n'); } const addKfSuffixToRelIfInclude = () => `${rel}${isInclude ? '_kf' : ''}`; @@ -104,4 +104,4 @@ const payloadKf = { runGenomicEtl: false, verbose: 'false', }; -console.log(payloadKf); +console.log(JSON.stringify(payloadKf, null, 4));