File tree Expand file tree Collapse file tree
.github/bin/list-workspaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ export async function listWorkspaces() {
1616 const packageDirs = await getFiles ( workspace . slice ( 0 , - 2 ) , false ) ;
1717 for ( const packageDir of packageDirs ) {
1818 packages . add (
19- p . resolve ( p . join ( packageDir , 'package.json' ) )
19+ path . resolve ( path . join ( packageDir , 'package.json' ) )
2020 ) ;
2121 }
2222 } else {
2323 packages . add (
24- p . resolve ( p . join ( workspace , 'package.json' ) )
24+ path . resolve ( path . join ( workspace , 'package.json' ) )
2525 ) ;
2626 }
2727 }
@@ -41,7 +41,7 @@ export async function listWorkspaces() {
4141
4242 for ( const packageJSONPath of Array . from ( packages ) ) {
4343 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 ) ) ;
4545
4646 console . error ( packagePath ) ;
4747
You can’t perform that action at this time.
0 commit comments