From 0218e0e6930ff41073958c5e3f9dc3ae5b2574d1 Mon Sep 17 00:00:00 2001 From: Leo Goetz Date: Tue, 19 May 2026 07:49:13 +0200 Subject: fix: initialize ora inside the function not outside --- src/actions/checkDependencies.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/checkDependencies.ts b/src/actions/checkDependencies.ts index e55726d..472c24c 100644 --- a/src/actions/checkDependencies.ts +++ b/src/actions/checkDependencies.ts @@ -4,9 +4,9 @@ import type { Config, Project } from "../types.js"; import { getConfig } from "../utils/config.js"; import { exec } from "child_process"; -const spinner = ora("Getting all Project Data").start(); - export async function checkDependencies() { + const spinner = ora("Getting all Project Data").start(); + const config: Config = await getConfig(); let projectAudits: PromiseSettledResult[]; let projects: Promise[] = []; -- cgit v1.3.1