Skip to content

Commit bd94efd

Browse files
committed
fix workspaces util script
1 parent 102bfdf commit bd94efd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release/utils/workspace.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const writeFile = promisify(_writeFile);
2727

2828
const {
2929
workspaces: rawWorkspaces
30-
}: { workspaces: string[] } = require(`${root}/package.json`);
31-
const workspaces = rawWorkspaces.map(workspace => `${root}/${workspace}`);
30+
}: { workspaces: { packages: string[] } } = require(`${root}/package.json`);
31+
const workspaces = rawWorkspaces.packages.map(workspace => `${root}/${workspace}`);
3232

3333
export function mapWorkspaceToPackages(
3434
workspaces: string[]

0 commit comments

Comments
 (0)