mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Getting closer to shared config #59803
This commit is contained in:
@@ -51,7 +51,7 @@ function resolveAbsolute(basePath: string, filePath: string): Promise<string> {
|
||||
|
||||
const next = (ctx: string) => {
|
||||
tryFile(path.resolve(ctx, filePath))
|
||||
.then(resolve, err => {
|
||||
.then(resolve, () => {
|
||||
const dir = path.dirname(ctx);
|
||||
if (!dir || dir === ctx) {
|
||||
return reject(`Unable to locate absolute file ${filePath}`);
|
||||
|
||||
Reference in New Issue
Block a user