Skip to content

Commit 63069f1

Browse files
committed
fix: migrate pnpm workspace yaml document
closes #170, closes #171
1 parent 2776e6b commit 63069f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/pnpmWorkspaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function loadPnpmWorkspace(
1313
const filepath = resolve(options.cwd ?? '', relative)
1414
const rawText = await readFile(filepath, 'utf-8')
1515
const context = parsePnpmWorkspaceYaml(rawText)
16-
const raw = context.document.toJSON()
16+
const raw = context.getDocument().toJSON()
1717

1818
const catalogs: PnpmWorkspaceMeta[] = []
1919

0 commit comments

Comments
 (0)