mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-20 09:45:36 -05:00
Changes config name to insiders
This commit is contained in:
@@ -123,14 +123,10 @@ export interface IAdvancedConfig {
|
||||
};
|
||||
}
|
||||
|
||||
export interface IExperimentalConfig {
|
||||
openInRemote: boolean;
|
||||
}
|
||||
|
||||
export interface IConfig {
|
||||
blame: IBlameConfig;
|
||||
codeLens: ICodeLensesConfig;
|
||||
experimental: IExperimentalConfig;
|
||||
statusBar: IStatusBarConfig;
|
||||
advanced: IAdvancedConfig;
|
||||
insiders: boolean;
|
||||
}
|
||||
@@ -587,7 +587,7 @@ export class GitService extends Disposable {
|
||||
}
|
||||
|
||||
async getRemotes(repoPath: string): Promise<GitRemote[]> {
|
||||
if (!this.config.experimental || !this.config.experimental.openInRemote) return Promise.resolve([]);
|
||||
if (!this.config.insiders) return Promise.resolve([]);
|
||||
|
||||
Logger.log(`getRemotes('${repoPath}')`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user