Skip to content

Commit 38d10a7

Browse files
committed
Fix
1 parent a9483c7 commit 38d10a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/utils/tools.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import type * as typefest from 'type-fest';
2121
import typescript from 'typescript';
2222
import ts from 'typescript';
2323

24-
import { CODE_DIRECTORY, ROOT_DIRECTORY } from './constants';
24+
import { ROOT_DIRECTORY } from './constants';
2525

2626
export { globalExternals };
2727

@@ -144,7 +144,7 @@ export const getWorkspace = async (): Promise<PackageJson[]> => {
144144

145145
return Promise.all(
146146
workspaces
147-
.flatMap((p) => p.map((i) => join(CODE_DIRECTORY, i)))
147+
.flatMap((p) => p.map((i) => join(ROOT_DIRECTORY, i)))
148148
.map(async (packagePath) => {
149149
const packageJsonPath = join(packagePath, 'package.json');
150150
if (!(await pathExists(packageJsonPath))) {

0 commit comments

Comments
 (0)