Skip to content

Commit 185fb56

Browse files
committed
Downgrade cac to keep older Node support
1 parent 9361932 commit 185fb56

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

packages/intent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"meta"
2828
],
2929
"dependencies": {
30-
"cac": "^7.0.0",
30+
"cac": "^6.7.14",
3131
"yaml": "^2.7.0"
3232
},
3333
"devDependencies": {

packages/intent/tests/cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ let errorSpy: ReturnType<typeof vi.spyOn>
4646
let tempDirs: Array<string>
4747

4848
function getHelpOutput(): string {
49-
return infoSpy.mock.calls
50-
.map((call: Array<unknown>) => String(call[0] ?? ''))
49+
return [...infoSpy.mock.calls, ...logSpy.mock.calls]
50+
.map((call) => String(call[0] ?? ''))
5151
.join('')
5252
}
5353

pnpm-lock.yaml

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)