Skip to content

Commit 1e247a0

Browse files
committed
docs: update extension.ts
1 parent 64c2a9d commit 1e247a0

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/extension.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
/**
22
* Extension module.
33
*
4-
* This sets up the extension's command entry point and applies the prepare commit message module to
5-
* a target branch.
4+
* This sets up the VS Code extension's command entry-point and applies logic in
5+
* the prepareCommitMsg module to a target branch.
66
*/
77
import * as vscode from "vscode";
88
import { API } from "./api/git";
99
import { makeAndFillCommitMsg } from "./autofill";
1010
import { getGitExtension } from "./gitExtension";
1111

1212
/**
13-
* Flow for multiple repos in workspace and selecting just one. This is a rare flow.
13+
* Flow for multiple repos in workspace and selecting just one. This is a rare
14+
* flow.
1415
*/
1516
async function _handleRepos(git: API, uri: any) {
16-
// FIXME: Unfortunately this seems to only pick up the first repo and not find second etc.
17+
// FIXME: Unfortunately this seems to only pick up the first repo and not find
18+
// second, etc.
1719
const selectedRepository = git.repositories.find(repository => {
1820
return repository.rootUri.path === uri._rootUri.path;
1921
});
@@ -68,4 +70,4 @@ export function activate(context: vscode.ExtensionContext) {
6870
}
6971

7072
// eslint-disable-next-line @typescript-eslint/no-empty-function
71-
export function deactivate() {}
73+
export function deactivate() { }

0 commit comments

Comments
 (0)