From 3fcbccd24df29bc9602492c8c8551333213fe82b Mon Sep 17 00:00:00 2001 From: Viktor Nagy <126671+nagyv@users.noreply.github.com> Date: Fri, 1 Aug 2025 09:14:16 +0200 Subject: [PATCH] Fixes unused import alias Fixes #534 The file refers to `execSync` extensively, but it's actually not available as it got imported under the alias `execSyncOriginal` Btw, `execSyncOriginal` is never used in the file. --- src/cli/simple-commands/init/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js index 0302d965d2..3d36b6d850 100644 --- a/src/cli/simple-commands/init/index.js +++ b/src/cli/simple-commands/init/index.js @@ -2,7 +2,7 @@ import { printSuccess, printError, printWarning, exit } from '../../utils.js'; import { existsSync } from 'fs'; import process from 'process'; -import { spawn, execSync as execSyncOriginal } from 'child_process'; +import { spawn, execSync } from 'child_process'; import { promisify } from 'util'; // Helper to replace Deno.Command