Skip to content

Commit 786e29b

Browse files
committed
Misc
1 parent 552e278 commit 786e29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/datascience/interactive-ipynb/trustCommandHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class TrustCommandHandler implements IExtensionSingleActivationService {
3636
if (!(await this.experiments.inExperiment(EnableTrustedNotebooks.experiment))) {
3737
return;
3838
}
39-
const context = new ContextKey('', this.commandManager);
39+
const context = new ContextKey('python.datascience.trustfeatureenabled', this.commandManager);
4040
context.set(true).ignoreErrors();
4141
this.disposables.push(this.commandManager.registerCommand(Commands.TrustNotebook, this.onTrustNotebook, this));
4242
this.disposables.push(this.commandManager.registerCommand(Commands.TrustedNotebook, noop));

0 commit comments

Comments
 (0)