Skip to content

Commit

Permalink
Doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Jul 25, 2019
1 parent d780b72 commit 293fb0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/client/common/insidersBuild/insidersExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ export class InsidersExtensionService implements IExtensionActivationService {
}

/**
* Choose between the following prompts and display the right one
* Choose what to do in miscellaneous situations
* * 'Notify to install insiders prompt' - Only when using VSC insiders and if they have not been notified before (usually the first session)
* * 'Discrepency prompt'
* * 'Resolve discrepency' - When install channel is not in sync with what is installed.
*/
public async handleEdgeCases(installChannel: ExtensionChannels): Promise<void> {
if (this.appEnvironment.channel === 'insiders' && !this.insidersPrompt.hasUserBeenNotified.value && this.extensionChannelService.isChannelUsingDefaultConfiguration) {
Expand Down
4 changes: 2 additions & 2 deletions src/client/common/serviceRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { CryptoUtils } from './crypto';
import { EditorUtils } from './editor';
import { ExperimentsManager } from './experiments';
import { FeatureDeprecationManager } from './featureDeprecationManager';
import { ExtensionInsidersDailyChannelRule, ExtensionInsidersWeeklyChannelRule, ExtensionInsidersOffChannelRule } from './insidersBuild/downloadChannelRules';
import { ExtensionInsidersDailyChannelRule, ExtensionInsidersOffChannelRule, ExtensionInsidersWeeklyChannelRule } from './insidersBuild/downloadChannelRules';
import { ExtensionChannelService } from './insidersBuild/downloadChannelService';
import { InsidersExtensionPrompt } from './insidersBuild/insidersExtensionPrompt';
import { InsidersExtensionService } from './insidersBuild/insidersExtensionService';
Expand Down Expand Up @@ -147,7 +147,7 @@ export function registerTypes(serviceManager: IServiceManager) {
serviceManager.addSingleton<IInsiderExtensionPrompt>(IInsiderExtensionPrompt, InsidersExtensionPrompt);
serviceManager.addSingleton<IExtensionActivationService>(IExtensionActivationService, InsidersExtensionService);
serviceManager.addSingleton<IExtensionChannelService>(IExtensionChannelService, ExtensionChannelService);
serviceManager.addSingleton<IExtensionChannelRule>(IExtensionChannelRule, ExtensionInsidersOffChannelRule, ExtensionChannel.default);
serviceManager.addSingleton<IExtensionChannelRule>(IExtensionChannelRule, ExtensionInsidersOffChannelRule, ExtensionChannel.off);
serviceManager.addSingleton<IExtensionChannelRule>(IExtensionChannelRule, ExtensionInsidersDailyChannelRule, ExtensionChannel.daily);
serviceManager.addSingleton<IExtensionChannelRule>(IExtensionChannelRule, ExtensionInsidersWeeklyChannelRule, ExtensionChannel.weekly);
}

0 comments on commit 293fb0f

Please sign in to comment.