mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
fixes #38244
This commit is contained in:
@@ -66,7 +66,13 @@ export function activate(context: ExtensionContext): any {
|
||||
context.subscriptions.push(new Disposable(() => Disposable.from(...disposables).dispose()));
|
||||
|
||||
init(context, disposables)
|
||||
.catch(err => console.error(err));
|
||||
.catch(err => {
|
||||
if (/Git installation not found/.test(err.message || '')) {
|
||||
console.warn(localize('notfound', "Git not found. You can configure its location with the `git.path` configuration setting."));
|
||||
} else {
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async function checkGitVersion(info: IGit): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user