File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 */
77import * as vscode from "vscode" ;
88import { API } from "./api/git" ;
99import { makeAndFillCommitMsg } from "./autofill" ;
1010import { 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 */
1516async 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 ( ) { }
You can’t perform that action at this time.
0 commit comments