Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ async function setup(disposables: vscode.Disposable[]) {
vscode.window.setStatusBarMessage(
'gitflow using git executable: ' + git.info.path + ' with version ' +
git.info.version, 5000);
const commands = [

disposables.push(
vscode.commands.registerCommand(
'gitflow.initialize',
async () => {
Expand Down Expand Up @@ -117,9 +118,7 @@ async function setup(disposables: vscode.Disposable[]) {
async () => {
await runWrapped(flow.hotfix.finish);
}),
];
// add disposable
disposables.push(...commands);
);
}

export function activate(context: vscode.ExtensionContext) {
Expand Down