Skip to content

Commit 6146d7d

Browse files
committed
Fix numbering in comment
1 parent 5fbd912 commit 6146d7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extensions/ql-vscode/src/model-editor/extensions-workspace-folder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
*/
8484
export async function getRootWorkspaceDirectory(): Promise<Uri | undefined> {
8585
// If there is a valid workspace file, just use its directory as the directory for the extensions

0 commit comments

Comments
 (0)