File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/generators/utils
utils/src/lib/utility-functions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function normalizeOptions(
6363
6464 const npmScope = names ( readWorkspaceConfiguration ( host ) . npmScope ) . className ;
6565 const featureScope = projectDirectory
66- . split ( '/' )
66+ . split ( / ( \/ | \\ ) / gm )
6767 . map ( ( part ) => names ( part ) . className ) ;
6868 const namespaceName = [ npmScope , ...featureScope ] . join ( '.' ) ;
6969
Original file line number Diff line number Diff line change 77} from '@nrwl/devkit' ;
88
99import { readFileSync } from 'fs' ;
10- import { isAbsolute , resolve } from 'path' ;
10+ import { isAbsolute , resolve , dirname } from 'path' ;
1111import { XmlDocument , XmlElement } from 'xmldoc' ;
1212
1313import { NXDOTNET_TAG } from '../constants' ;
@@ -58,7 +58,7 @@ export function getDependantProjectsForNxProject(
5858 absoluteFilePath = includeFilePath ;
5959 } else {
6060 absoluteFilePath = resolve (
61- netProjectFilePath . split ( '/' ) . slice ( 0 , - 1 ) . join ( '/' ) ,
61+ dirname ( netProjectFilePath ) ,
6262 includeFilePath ,
6363 ) ;
6464 }
You can’t perform that action at this time.
0 commit comments