From 3d4ce3a361299376be3dcb8e7386f590b96b7a7f Mon Sep 17 00:00:00 2001 From: mingxuanzhang Date: Thu, 24 Oct 2024 10:21:51 -0700 Subject: [PATCH] chore: nit --- scripts/testEsbuild.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/testEsbuild.js b/scripts/testEsbuild.js index edf04eb8..f6f0a2bf 100644 --- a/scripts/testEsbuild.js +++ b/scripts/testEsbuild.js @@ -1,9 +1,6 @@ const { exec } = require('child_process'); -const commandToRun = 'node ./scripts/esbuild.config.js'; - -// Run the command -exec(commandToRun, (error, stdout, stderr) => { +exec('node ./scripts/esbuild.config.js', (error, stdout, stderr) => { // Combine stdout and stderr to check the entire output const output = `${stdout}\n${stderr}`; if (error) {