Skip to content

Commit b8266e3

Browse files
ci: apply automated fixes
1 parent 918a4a2 commit b8266e3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/intent/src/workspace-patterns.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ export function readWorkspacePatterns(root: string): Array<string> | null {
146146
if (existsSync(pkgPath)) {
147147
try {
148148
const pkg = readJsonFile(pkgPath) as Record<string, unknown>
149-
const workspaces = pkg.workspaces as
150-
| Record<string, unknown>
151-
| undefined
149+
const workspaces = pkg.workspaces as Record<string, unknown> | undefined
152150
const patterns =
153151
parseWorkspacePatterns(workspaces) ??
154152
parseWorkspacePatterns(workspaces?.packages)

0 commit comments

Comments
 (0)