Skip to content

Commit

Permalink
fix(extention): fixed extention definition
Browse files Browse the repository at this point in the history
BREAKING CHANGE: changed extention command
  • Loading branch information
Boris Litvinsky committed Jun 21, 2018
1 parent 0862e19 commit 93c002d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"contributes": {
"commands": [
{
"command": "extension.extractToFile",
"command": "extension.glean",
"title": "Extract to File"
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class CompleteActionProvider implements vscode.CodeActionProvider {
public provideCodeActions(): Promise<vscode.Command[]> {
return new Promise(resolve => resolve([
{
command: 'extension.extractToFile',
command: 'extension.glean',
title: 'Export to File'
}
])
Expand Down Expand Up @@ -119,7 +119,7 @@ export async function run() {
export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(vscode.languages.registerCodeActionsProvider({ pattern: '**/*.*' }, new CompleteActionProvider()));

const disposable = vscode.commands.registerCommand('extension.extractToFile', run);
const disposable = vscode.commands.registerCommand('extension.glean', run);

}

Expand Down

0 comments on commit 93c002d

Please sign in to comment.