From d7b3588af5f01f35f33d14661c0f18fd688d79bc Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sun, 5 May 2024 22:12:08 +0800 Subject: [PATCH] style: unused --- .../blast-runtime/src/components/CommandList/loadCommands.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/blast-runtime/src/components/CommandList/loadCommands.ts b/packages/blast-runtime/src/components/CommandList/loadCommands.ts index 5a05b30..85eb64d 100644 --- a/packages/blast-runtime/src/components/CommandList/loadCommands.ts +++ b/packages/blast-runtime/src/components/CommandList/loadCommands.ts @@ -12,7 +12,6 @@ // ] import fs from "fs/promises"; -import os from "os"; import path from "path"; import { EXTENSIONS_DIR } from '../../constants' @@ -70,7 +69,6 @@ export async function loadInstalledExtensions(): Promise { export async function loadCommands(): Promise { try { - const homeDir = os.homedir(); const extensionPackages = await loadInstalledExtensions(); const commands: Command[] = [];