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`);
2142
+
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`);
2130
2143
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`);
2131
2144
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.`);
2132
2145
// If the file is not opened by client and the file doesnot exist on the disk, return
0 commit comments