File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
extensions/ql-vscode/src/model-editor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ function findCommonAncestor(uris: Uri[]): Uri | undefined {
7373 *
7474 * The heuristic is as follows:
7575 * 1. If there is a workspace file (`<basename>.code-workspace`), use the directory containing that file
76- * 1 . If there is only 1 workspace folder, use that folder=
76+ * 2 . If there is only 1 workspace folder, use that folder
7777 * 3. If there is a common root directory for all workspace folders, use that directory
7878 * - Workspace folders in the system temp directory are ignored
7979 * - If the common root directory is the root of the filesystem, then it's not used
80- * 5 . If there is a .git directory in any workspace folder, use the directory containing that .git directory
80+ * 4 . If there is a .git directory in any workspace folder, use the directory containing that .git directory
8181 * for which the .git directory is closest to a workspace folder
82- * 6 . If none of the above apply, return `undefined`
82+ * 5 . If none of the above apply, return `undefined`
8383 */
8484export async function getRootWorkspaceDirectory ( ) : Promise < Uri | undefined > {
8585 // If there is a valid workspace file, just use its directory as the directory for the extensions
You can’t perform that action at this time.
0 commit comments