mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
fix something
This commit is contained in:
@@ -19,7 +19,6 @@ import { grep, isDescendant, pathEquals } from './util';
|
||||
import { Log, LogLevel } from './log';
|
||||
import { GitTimelineItem } from './timelineProvider';
|
||||
import { throttle, debounce } from './decorators';
|
||||
import { URI } from 'vscode-uri';
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
|
||||
@@ -932,7 +931,7 @@ export class CommandCenter {
|
||||
}
|
||||
|
||||
@command('git.rename', { repository: true })
|
||||
async rename(repository: Repository, fromUri: URI): Promise<void> {
|
||||
async rename(repository: Repository, fromUri: Uri): Promise<void> {
|
||||
this.outputChannel.appendLine(`git.rename ${fromUri.fsPath}`);
|
||||
|
||||
const rootPath = workspace.rootPath;
|
||||
|
||||
+2
-2
@@ -7,5 +7,5 @@
|
||||
//
|
||||
// Proper fix: https://github.com/microsoft/TypeScript/issues/31535
|
||||
|
||||
declare let TextDecoder: typeof import('util').TextDecoder;
|
||||
declare let TextEncoder: typeof import('util').TextEncoder;
|
||||
declare var TextDecoder: typeof import('util').TextDecoder;
|
||||
declare var TextEncoder: typeof import('util').TextEncoder;
|
||||
|
||||
Reference in New Issue
Block a user