From 562b8d52b5fbbc0fe0c33bafa2aa0c520259f4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Sat, 21 Jun 2025 12:31:32 +0900 Subject: [PATCH] -y --- packages/aim/package.json | 2 +- packages/aim/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aim/package.json b/packages/aim/package.json index a939bd2..40562f6 100644 --- a/packages/aim/package.json +++ b/packages/aim/package.json @@ -1,6 +1,6 @@ { "name": "@dudykr/aim", - "version": "1.0.0", + "version": "1.0.1", "type": "module", "bin": { "aim": "./dist/index.js" diff --git a/packages/aim/src/index.ts b/packages/aim/src/index.ts index 71f09e6..8538634 100644 --- a/packages/aim/src/index.ts +++ b/packages/aim/src/index.ts @@ -27,7 +27,7 @@ type PlanType = "pro" | "max5" | "max20" | "custom_max"; async function runCcusage(): Promise { try { - const result = await execa("npx", ["ccusage", "blocks", "--json"]); + const result = await execa("npx", ["-y", "ccusage", "blocks", "--json"]); return JSON.parse(result.stdout); } catch (error) { console.error("Error running ccusage:", error);