Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fix: use proper command namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter committed Dec 2, 2016
1 parent 0f5b930 commit fa43433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"conventional-changelog"
],
"activationEvents": [
"onCommand:extension.commit"
"onCommand:vscode-commitizen.commit"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.commit",
"command": "vscode-commitizen.commit",
"title": "conventional commit",
"category": "Commitizen"
}
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as wrap from 'wrap-ansi';
export async function activate(context: vscode.ExtensionContext): Promise<void> {
const czConfig = await readCzConfig();

context.subscriptions.push(vscode.commands.registerCommand('extension.commit', async () => {
context.subscriptions.push(vscode.commands.registerCommand('vscode-commitizen.commit', async () => {
const ccm = new ConventionalCommitMessage(czConfig);
await ccm.getType();
await ccm.getScope();
Expand Down

0 comments on commit fa43433

Please sign in to comment.