Lint: the new route inventory, its tests and the touched tests
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d4fe3bf4ba
commit
8f443c9214
@@ -59,6 +59,7 @@ function walk(dir: string): string[] {
|
||||
*/
|
||||
export async function runRouteCheck(options: RunRouteCheckOptions): Promise<number> {
|
||||
const cwd = options.cwd ?? process.cwd()
|
||||
// eslint-disable-next-line no-console -- a command-line check prints its report
|
||||
const log = options.log ?? ((line: string) => console.log(line))
|
||||
const appDir = join(cwd, options.appDir ?? 'src/app')
|
||||
const snapshotFile = join(cwd, options.snapshot ?? 'e2e/routes.snapshot.json')
|
||||
|
||||
Reference in New Issue
Block a user