From a3c3cc8ac8cc461b50b05c3d40071574d88b9799 Mon Sep 17 00:00:00 2001 From: LeoTM <1881059+leotm@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:06:39 +0000 Subject: [PATCH] refactor(ses): rename vars --- packages/ses/scripts/bundle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ses/scripts/bundle.js b/packages/ses/scripts/bundle.js index 8ca86a0479..d34fe238f2 100644 --- a/packages/ses/scripts/bundle.js +++ b/packages/ses/scripts/bundle.js @@ -39,7 +39,7 @@ const main = async () => { await fs.promises.mkdir('dist', { recursive: true }); - const bundles = [ + const bundleFilePaths = [ 'dist/ses.cjs', 'dist/ses.mjs', 'dist/ses.umd.js', @@ -47,11 +47,11 @@ const main = async () => { 'dist/lockdown.mjs', 'dist/lockdown.umd.js', ]; - const terses = ['dist/ses.umd.min.js', 'dist/lockdown.umd.min.js']; + const terseFilePaths = ['dist/ses.umd.min.js', 'dist/lockdown.umd.min.js']; await Promise.all([ - ...bundles.map(dest => write(dest, versionedBundle)), - ...terses.map(dest => write(dest, terse)), + ...bundleFilePaths.map(dest => write(dest, versionedBundle)), + ...terseFilePaths.map(dest => write(dest, terse)), ]); };