Skip to content

Commit 40d344e

Browse files
committed
Merge branches 'more-fixes' and 'more-fixes' of https://github.com/TanStack/intent into more-fixes
2 parents b0fe79c + b3cef18 commit 40d344e

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

packages/intent/src/cli.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@ function createCli(): CAC {
7373
.option('--github-summary', 'Write a GitHub Actions step summary')
7474
.example('validate')
7575
.example('validate packages/query/skills')
76-
.action(async (dir: string | undefined, options: ValidateCommandOptions) => {
77-
await runValidateCommand(dir, options)
78-
})
76+
.action(
77+
async (dir: string | undefined, options: ValidateCommandOptions) => {
78+
await runValidateCommand(dir, options)
79+
},
80+
)
7981

8082
cli
8183
.command(
@@ -121,9 +123,11 @@ function createCli(): CAC {
121123
.example('stale')
122124
.example('stale packages/query')
123125
.example('stale --json')
124-
.action(async (targetDir: string | undefined, options: StaleCommandOptions) => {
125-
await runStaleCommand(targetDir, options, resolveStaleTargets)
126-
})
126+
.action(
127+
async (targetDir: string | undefined, options: StaleCommandOptions) => {
128+
await runStaleCommand(targetDir, options, resolveStaleTargets)
129+
},
130+
)
127131

128132
cli
129133
.command(

packages/intent/src/commands/validate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ function collectAgentSkillSpecWarnings({
144144
) {
145145
warnings.push({
146146
file: rel,
147-
message: 'Agent Skills spec warning: license should be a non-empty string',
147+
message:
148+
'Agent Skills spec warning: license should be a non-empty string',
148149
})
149150
}
150151

packages/intent/tests/cli.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,10 +1310,7 @@ describe('cli commands', () => {
13101310

13111311
process.chdir(root)
13121312

1313-
const exitCode = await main([
1314-
'validate',
1315-
'packages/typescript/ai/skills',
1316-
])
1313+
const exitCode = await main(['validate', 'packages/typescript/ai/skills'])
13171314
const output = logSpy.mock.calls.flat().join('\n')
13181315

13191316
expect(exitCode).toBe(0)

0 commit comments

Comments
 (0)