Skip to content

Commit 49897a6

Browse files
authored
[cherry-pick] disable user prompts synchronization in stable (microsoft#242595)
disable user prompts synchronization in stable
1 parent fd0af44 commit 49897a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,10 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo
575575
label: getSyncAreaLabel(SyncResource.Profiles),
576576
}];
577577

578-
// if the `reusable prompt` feature is enabled, add appropriate item to the list
579-
if (PromptsConfig.enabled(this.configService)) {
578+
// if the `reusable prompt` feature is enabled and in vscode
579+
// insiders, add the `Prompts` resource item to the list
580+
const isInsiders = (this.productService.quality !== 'stable');
581+
if (PromptsConfig.enabled(this.configService) && isInsiders) {
580582
result.push({
581583
id: SyncResource.Prompts,
582584
label: getSyncAreaLabel(SyncResource.Prompts)

0 commit comments

Comments
 (0)