mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-24 09:45:39 -05:00
Updates dependencies (typescript)
Fixes newly detected typescript errors
This commit is contained in:
@@ -55,9 +55,9 @@ function findSystemGitWin32(basePath: string): Promise<IGit> {
|
||||
}
|
||||
|
||||
function findGitWin32(): Promise<IGit> {
|
||||
return findSystemGitWin32(process.env['ProgramW6432'])
|
||||
.then(null, () => findSystemGitWin32(process.env['ProgramFiles(x86)']))
|
||||
.then(null, () => findSystemGitWin32(process.env['ProgramFiles']))
|
||||
return findSystemGitWin32(process.env['ProgramW6432']!)
|
||||
.then(null, () => findSystemGitWin32(process.env['ProgramFiles(x86)']!))
|
||||
.then(null, () => findSystemGitWin32(process.env['ProgramFiles']!))
|
||||
.then(null, () => findSpecificGit('git'));
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ export abstract class RemoteProvider {
|
||||
return commands.executeCommand(BuiltInCommands.Open, Uri.parse(url));
|
||||
}
|
||||
|
||||
open(resource: RemoteResource): Promise<{}> {
|
||||
open(resource: RemoteResource): Promise<{} | undefined> {
|
||||
switch (resource.type) {
|
||||
case 'branch':
|
||||
return this.openBranch(resource.branch);
|
||||
|
||||
Reference in New Issue
Block a user