File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/bin/list-workspaces Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ export async function listWorkspaces() {
16
16
const packageDirs = await getFiles ( workspace . slice ( 0 , - 2 ) , false ) ;
17
17
for ( const packageDir of packageDirs ) {
18
18
packages . add (
19
- p . resolve ( p . join ( packageDir , 'package.json' ) )
19
+ path . resolve ( path . join ( packageDir , 'package.json' ) )
20
20
) ;
21
21
}
22
22
} else {
23
23
packages . add (
24
- p . resolve ( p . join ( workspace , 'package.json' ) )
24
+ path . resolve ( path . join ( workspace , 'package.json' ) )
25
25
) ;
26
26
}
27
27
}
@@ -41,7 +41,7 @@ export async function listWorkspaces() {
41
41
42
42
for ( const packageJSONPath of Array . from ( packages ) ) {
43
43
const packageJSON = JSON . parse ( await fsp . readFile ( packageJSONPath ) ) ;
44
- const packagePath = p . relative ( process . cwd ( ) , p . dirname ( packageJSONPath ) ) ;
44
+ const packagePath = p . relative ( process . cwd ( ) , path . dirname ( packageJSONPath ) ) ;
45
45
46
46
console . error ( packagePath ) ;
47
47
You can’t perform that action at this time.
0 commit comments