Просмотр исходного кода

Removes invalid signature

main
Eric Amodio 7 лет назад
Родитель
Сommit
5823457ea0
4 измененных файлов: 8 добавлений и 8 удалений
  1. +2
    -2
      src/commands/openBranchInRemote.ts
  2. +2
    -2
      src/commands/openCommitInRemote.ts
  3. +2
    -2
      src/commands/openFileInRemote.ts
  4. +2
    -2
      src/commands/openRepoInRemote.ts

+ 2
- 2
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);

+ 2
- 2
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;

+ 2
- 2
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;

+ 2
- 2
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);

Загрузка…
Отмена
Сохранить