We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918a4a2 commit b8266e3Copy full SHA for b8266e3
1 file changed
packages/intent/src/workspace-patterns.ts
@@ -146,9 +146,7 @@ export function readWorkspacePatterns(root: string): Array<string> | null {
146
if (existsSync(pkgPath)) {
147
try {
148
const pkg = readJsonFile(pkgPath) as Record<string, unknown>
149
- const workspaces = pkg.workspaces as
150
- | Record<string, unknown>
151
- | undefined
+ const workspaces = pkg.workspaces as Record<string, unknown> | undefined
152
const patterns =
153
parseWorkspacePatterns(workspaces) ??
154
parseWorkspacePatterns(workspaces?.packages)
0 commit comments