From 6511664ba376dbf1285dafa34c0a67c8113aab00 Mon Sep 17 00:00:00 2001 From: Rodel Calasagsag Date: Thu, 17 Aug 2023 08:54:21 +0800 Subject: [PATCH] Minor variable naming change --- .../scripts/construct-slack-payload.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/tests/slack-summary-daily/scripts/construct-slack-payload.js b/.github/actions/tests/slack-summary-daily/scripts/construct-slack-payload.js index e4383939d75..0a238a954aa 100644 --- a/.github/actions/tests/slack-summary-daily/scripts/construct-slack-payload.js +++ b/.github/actions/tests/slack-summary-daily/scripts/construct-slack-payload.js @@ -17,7 +17,7 @@ module.exports = ( { core } ) => { dateStyle: 'full', } ).format( Date.now() ); - const block = [ + const blocks = [ { type: 'divider', }, @@ -71,7 +71,7 @@ module.exports = ( { core } ) => { }, ]; - return block; + return blocks; }; const create_blockGroup_nightlySite = () => { @@ -79,7 +79,7 @@ module.exports = ( { core } ) => { const emoji_E2E = selectEmoji( E2E_RESULT ); const emoji_k6 = selectEmoji( k6_RESULT ); - const block = [ + const blocks = [ { type: 'section', text: { @@ -101,7 +101,7 @@ module.exports = ( { core } ) => { }, ]; - return block; + return blocks; }; const blockGroup_header = create_blockGroup_header();