Changes config name to insiders

This commit is contained in:
Eric Amodio
2017-03-24 11:32:47 -04:00
parent 964cf2d5dd
commit a90d3f98de
4 changed files with 8 additions and 12 deletions

View File

@@ -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;
}

View File

@@ -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}')`);