This repository was archived by the owner on Oct 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ export class ProjectConfiguration {
343
343
const options = configParseResult . options
344
344
const pathResolver = / ^ [ a - z ] : \/ / i. test ( base ) ? path . win32 : path . posix
345
345
this . typeRoots = options . typeRoots ?
346
- options . typeRoots . map ( ( r : string ) => pathResolver . resolve ( this . rootFilePath , r ) ) :
346
+ options . typeRoots . map ( ( r : string ) => toUnixPath ( pathResolver . resolve ( this . rootFilePath , r ) ) ) :
347
347
[ ]
348
348
349
349
if ( / ( ^ | \/ ) j s c o n f i g \. j s o n $ / . test ( this . configFilePath ) ) {
@@ -833,7 +833,7 @@ export class ProjectManager implements Disposable {
833
833
return traceObservable ( 'Ensure config dependencies' , childOf , span => {
834
834
if ( ! this . ensuredConfigDependencies ) {
835
835
this . ensuredConfigDependencies = observableFromIterable ( this . inMemoryFs . uris ( ) )
836
- . filter ( uri => this . isConfigDependency ( uri2path ( uri ) ) )
836
+ . filter ( uri => this . isConfigDependency ( toUnixPath ( uri2path ( uri ) ) ) )
837
837
. mergeMap ( uri => this . updater . ensure ( uri ) )
838
838
. do ( noop , err => {
839
839
this . ensuredConfigDependencies = undefined
You can’t perform that action at this time.
0 commit comments