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
@amcasey Hi! I don't know if it the right place to ask a question but I found this thread relative to the problem (I'm sorry if it's not). Should directoryExists be called with an absolute path like directoryExists(combinePaths(currentDirectory, basePath))?
I came across the undocumented breaking change in 4.4-beta that causes (for example) ts.sys.readDirectory("", [".ts",".tsx",".d.ts"],["node_modules","dist"],["**/*"]) to return an empty array. Before 4.4-beta it has been returning the correct array of files. So I wonder if it is a bug or desired behaviour.
@DanielRosenwasser I'm probably missing something obvious, but why is the getBasePaths call a mistake?
Edit: The claim that it should use the absolute path is very plausible, but getBasePaths has a bunch of logic that suggests that it was expecting to handle relative paths.
Originally posted by @gretzkiy in #44710 (comment)
The text was updated successfully, but these errors were encountered: