File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/rush-lib/src/logic/selectors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
44import * as nodePath from 'node:path' ;
55
6- import { AlreadyReportedError } from '@rushstack/node-core-library' ;
6+ import { AlreadyReportedError , Path } from '@rushstack/node-core-library' ;
77import type { LookupByPath } from '@rushstack/lookup-by-path' ;
88
99import type { RushConfiguration } from '../../api/RushConfiguration' ;
@@ -32,7 +32,7 @@ export class PathProjectSelectorParser implements ISelectorParser<RushConfigurat
3232 const relativePath : string = nodePath . relative ( this . _rushConfiguration . rushJsonFolder , absolutePath ) ;
3333
3434 // Normalize path separators to forward slashes for LookupByPath
35- const normalizedPath : string = relativePath . split ( nodePath . sep ) . join ( '/' ) ;
35+ const normalizedPath : string = Path . convertToSlashes ( relativePath ) ;
3636
3737 // Get the LookupByPath instance for the Rush root
3838 const lookupByPath : LookupByPath < RushConfigurationProject > =
You can’t perform that action at this time.
0 commit comments