From 5823457ea033e9af5d6287f4db481821496b1f93 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 13 Jun 2017 03:15:15 -0400 Subject: [PATCH] Removes invalid signature --- src/commands/openBranchInRemote.ts | 4 ++-- src/commands/openCommitInRemote.ts | 4 ++-- src/commands/openFileInRemote.ts | 4 ++-- src/commands/openRepoInRemote.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/commands/openBranchInRemote.ts b/src/commands/openBranchInRemote.ts index 74ff5d1..fdf6fa7 100644 --- a/src/commands/openBranchInRemote.ts +++ b/src/commands/openBranchInRemote.ts @@ -1,6 +1,6 @@ 'use strict'; import { Arrays } from '../system'; -import { commands, TextEditor, TextEditorEdit, Uri, window } from 'vscode'; +import { commands, TextEditor, Uri, window } from 'vscode'; import { ActiveEditorCommand, Commands, getCommandUri } from './common'; import { GitService, GitUri } from '../gitService'; import { Logger } from '../logger'; @@ -17,7 +17,7 @@ export class OpenBranchInRemoteCommand extends ActiveEditorCommand { super(Commands.OpenBranchInRemote); } - async execute(editor: TextEditor, edit: TextEditorEdit, uri?: Uri, args: OpenBranchInRemoteCommandArgs = {}) { + async execute(editor: TextEditor, uri?: Uri, args: OpenBranchInRemoteCommandArgs = {}) { uri = getCommandUri(uri, editor); const gitUri = uri && await GitUri.fromUri(uri, this.git); diff --git a/src/commands/openCommitInRemote.ts b/src/commands/openCommitInRemote.ts index 6832045..c3c1ce3 100644 --- a/src/commands/openCommitInRemote.ts +++ b/src/commands/openCommitInRemote.ts @@ -1,6 +1,6 @@ 'use strict'; import { Arrays } from '../system'; -import { commands, TextEditor, TextEditorEdit, Uri, window } from 'vscode'; +import { commands, TextEditor, Uri, window } from 'vscode'; import { ActiveEditorCommand, Commands, getCommandUri } from './common'; import { GitBlameCommit, GitService, GitUri } from '../gitService'; import { Logger } from '../logger'; @@ -13,7 +13,7 @@ export class OpenCommitInRemoteCommand extends ActiveEditorCommand { super(Commands.OpenCommitInRemote); } - async execute(editor: TextEditor, edit: TextEditorEdit, uri?: Uri) { + async execute(editor: TextEditor, uri?: Uri) { uri = getCommandUri(uri, editor); if (uri === undefined) return undefined; if (editor !== undefined && editor.document !== undefined && editor.document.isDirty) return undefined; diff --git a/src/commands/openFileInRemote.ts b/src/commands/openFileInRemote.ts index d834c1e..a6e7c80 100644 --- a/src/commands/openFileInRemote.ts +++ b/src/commands/openFileInRemote.ts @@ -1,6 +1,6 @@ 'use strict'; import { Arrays } from '../system'; -import { commands, Range, TextEditor, TextEditorEdit, Uri, window } from 'vscode'; +import { commands, Range, TextEditor, Uri, window } from 'vscode'; import { ActiveEditorCommand, Commands, getCommandUri } from './common'; import { GitService, GitUri } from '../gitService'; import { Logger } from '../logger'; @@ -12,7 +12,7 @@ export class OpenFileInRemoteCommand extends ActiveEditorCommand { super(Commands.OpenFileInRemote); } - async execute(editor: TextEditor, edit: TextEditorEdit, uri?: Uri) { + async execute(editor: TextEditor, uri?: Uri) { uri = getCommandUri(uri, editor); if (uri === undefined) return undefined; diff --git a/src/commands/openRepoInRemote.ts b/src/commands/openRepoInRemote.ts index 90ec904..e4e02d2 100644 --- a/src/commands/openRepoInRemote.ts +++ b/src/commands/openRepoInRemote.ts @@ -1,6 +1,6 @@ 'use strict'; import { Arrays } from '../system'; -import { commands, TextEditor, TextEditorEdit, Uri, window } from 'vscode'; +import { commands, TextEditor, Uri, window } from 'vscode'; import { ActiveEditorCommand, Commands, getCommandUri } from './common'; import { GitService, GitUri } from '../gitService'; import { Logger } from '../logger'; @@ -12,7 +12,7 @@ export class OpenRepoInRemoteCommand extends ActiveEditorCommand { super(Commands.OpenRepoInRemote); } - async execute(editor: TextEditor, edit: TextEditorEdit, uri?: Uri) { + async execute(editor: TextEditor, uri?: Uri) { uri = getCommandUri(uri, editor); const gitUri = uri && await GitUri.fromUri(uri, this.git);