mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
Git - handle another error condition when detecting worktrees (#256278)
This commit is contained in:
@@ -2798,7 +2798,7 @@ export class Repository {
|
||||
return result;
|
||||
}
|
||||
catch (err) {
|
||||
if (/ENOTDIR/.test(err.message)) {
|
||||
if (/ENOENT/.test(err.message) || /ENOTDIR/.test(err.message)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user