mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 09:10:30 -04:00
Merge from vscode b8c2e7108b3cae7aa2782112da654bedd8bb3a52 (#4808)
This commit is contained in:
@@ -305,7 +305,7 @@ export class TerminalLinkHandler {
|
||||
uri = URI.file(linkUrl);
|
||||
}
|
||||
|
||||
return this._fileService.resolveFile(uri).then(stat => {
|
||||
return this._fileService.resolve(uri).then(stat => {
|
||||
if (stat.isDirectory) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@ export abstract class TerminalService implements ITerminalService {
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
const current = potentialPaths.shift();
|
||||
return this._fileService.existsFile(URI.file(current!)).then(exists => {
|
||||
return this._fileService.exists(URI.file(current!)).then(exists => {
|
||||
if (!exists) {
|
||||
return this._validateShellPaths(label, potentialPaths);
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ export class TerminalService extends BrowserTerminalService implements ITerminal
|
||||
const interval = setInterval(() => {
|
||||
if (!running) {
|
||||
running = true;
|
||||
this._fileService.existsFile(path).then(exists => {
|
||||
this._fileService.exists(path).then(exists => {
|
||||
running = false;
|
||||
|
||||
if (!exists) {
|
||||
|
||||
Reference in New Issue
Block a user