File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/workspace/src/utilities Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,16 @@ export function createGlobPatternsForDependencies(
54
54
55
55
const dirsToUse = [ ] ;
56
56
const recursiveScanDirs = ( dirPath ) => {
57
- const children = readdirSync ( dirPath ) ;
57
+ const children = readdirSync ( resolve ( workspaceRoot , dirPath ) ) ;
58
58
for ( const child of children ) {
59
59
const childPath = join ( dirPath , child ) ;
60
- if ( ig ?. ignores ( childPath ) || ! lstatSync ( childPath ) . isDirectory ( ) ) {
60
+ if (
61
+ ig ?. ignores ( childPath ) ||
62
+ ! lstatSync ( resolve ( workspaceRoot , childPath ) ) . isDirectory ( )
63
+ ) {
61
64
continue ;
62
65
}
63
- if ( existsSync ( join ( childPath , 'ng-package.json' ) ) ) {
66
+ if ( existsSync ( join ( workspaceRoot , childPath , 'ng-package.json' ) ) ) {
64
67
dirsToUse . push ( childPath ) ;
65
68
} else {
66
69
recursiveScanDirs ( childPath ) ;
You can’t perform that action at this time.
0 commit comments