You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.assert(isRootedDiskPath(fileName)||isDynamic||openedByClient,"",()=>`${JSON.stringify({ fileName, currentDirectory,hostCurrentDirectory: this.currentDirectory,openKeys: arrayFrom(this.openFilesWithNonRootedDiskPath.keys())})}\nScript info with non-dynamic relative file name can only be open script info or in context of host currentDirectory`);
2230
2234
Debug.assert(!isRootedDiskPath(fileName)||this.currentDirectory===currentDirectory||!this.openFilesWithNonRootedDiskPath.has(this.toCanonicalFileName(fileName)),"",()=>`${JSON.stringify({ fileName, currentDirectory,hostCurrentDirectory: this.currentDirectory,openKeys: arrayFrom(this.openFilesWithNonRootedDiskPath.keys())})}\nOpen script files with non rooted disk path opened with current directory context cannot have same canonical names`);
2231
-
Debug.assert(!isDynamic||this.currentDirectory===currentDirectory,"",()=>`${JSON.stringify({ fileName, currentDirectory,hostCurrentDirectory: this.currentDirectory,openKeys: arrayFrom(this.openFilesWithNonRootedDiskPath.keys())})}\nDynamic files must always have current directory context since containing external project name will always match the script info name.`);
2235
+
Debug.assert(!isDynamic||this.currentDirectory===currentDirectory||this.useInferredProjectPerProjectRoot,"",()=>`${JSON.stringify({ fileName, currentDirectory,hostCurrentDirectory: this.currentDirectory,openKeys: arrayFrom(this.openFilesWithNonRootedDiskPath.keys())})}\nDynamic files must always be opened with service's current directory or service should support inferred project per projectRootPath.`);
2232
2236
// If the file is not opened by client and the file doesnot exist on the disk, return
`Debug Failure. False expression: \nVerbose Debug Information: {"fileName":"^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js","currentDirectory":"/user/username/projects/myproject","hostCurrentDirectory":"/","openKeys":[]}\nDynamic files must always be opened with service's current directory or service should support inferred project per projectRootPath.`
0 commit comments