Skip to content

Commit 609a8da

Browse files
authored
fix(aim): Use -y flag for npx (#69)
1 parent 99a9ba4 commit 609a8da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aim/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dudykr/aim",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"bin": {
66
"aim": "./dist/index.js"

packages/aim/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type PlanType = "pro" | "max5" | "max20" | "custom_max";
2727

2828
async function runCcusage(): Promise<CcusageData | null> {
2929
try {
30-
const result = await execa("npx", ["ccusage", "blocks", "--json"]);
30+
const result = await execa("npx", ["-y", "ccusage", "blocks", "--json"]);
3131
return JSON.parse(result.stdout);
3232
} catch (error) {
3333
console.error("Error running ccusage:", error);

0 commit comments

Comments
 (0)