File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,11 +141,11 @@ export let findProjectRootOfFile = (
141141/**
142142 * Gets the project file for a given project root path.
143143 *
144- * All keys in `projectsFiles` are normalized (see `openedFile` in server.ts),
145- * so this function accepts either a normalized or non-normalized path and
146- * normalizes it before lookup .
144+ * All keys in `projectsFiles` are normalized (see `openedFile` in server.ts).
145+ * This function accepts a normalized project root path (or null) and performs a direct lookup.
146+ * The path must already be normalized before calling this function .
147147 *
148- * @param projectRootPath - The project root path to look up (can be null or already normalized )
148+ * @param projectRootPath - The normalized project root path to look up (or null )
149149 * @returns The project file if found, null otherwise
150150 */
151151export let getProjectFile = (
You can’t perform that action at this time.
0 commit comments