mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
fix: move askpass scripts to stable location (#289400)
* fix: move askpass scripts to stable location fixes #282020 * Update extensions/git/src/askpassManager.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * use global storage --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -28,6 +28,7 @@ import { GitEditSessionIdentityProvider } from './editSessionIdentityProvider';
|
||||
import { GitCommitInputBoxCodeActionsProvider, GitCommitInputBoxDiagnosticsManager } from './diagnostics';
|
||||
import { GitBlameController } from './blame';
|
||||
import { CloneManager } from './cloneManager';
|
||||
import { getAskpassPaths } from './askpassManager';
|
||||
|
||||
const deactivateTasks: { (): Promise<void> }[] = [];
|
||||
|
||||
@@ -71,7 +72,8 @@ async function createModel(context: ExtensionContext, logger: LogOutputChannel,
|
||||
logger.error(`[main] Failed to create git IPC: ${err}`);
|
||||
}
|
||||
|
||||
const askpass = new Askpass(ipcServer, logger);
|
||||
const askpassPaths = await getAskpassPaths(__dirname, context.globalStorageUri.fsPath, logger);
|
||||
const askpass = new Askpass(ipcServer, logger, askpassPaths);
|
||||
disposables.push(askpass);
|
||||
|
||||
const gitEditor = new GitEditor(ipcServer);
|
||||
|
||||
Reference in New Issue
Block a user