Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 4decc86

Browse files
committed
CHECK
1 parent 3f85d2d commit 4decc86

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/commands/handlers.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ export default class Commands {
3737
}
3838

3939
private async checkExtensionAutoUpdate() {
40-
const config = vscode.workspace.getConfiguration("extensions");
41-
const autoUpdate = config.get<boolean>("autoUpdate");
40+
const autoUpdate = vscode.workspace
41+
.getConfiguration(undefined, null) // null = global scope
42+
.get<boolean>("extensions.autoUpdate", true);
4243

4344
if (autoUpdate) {
4445
const selection = await vscode.window.showWarningMessage(
@@ -48,13 +49,11 @@ private async checkExtensionAutoUpdate() {
4849
);
4950

5051
if (selection === "Open Settings") {
51-
// Open the relevant settings page
5252
vscode.commands.executeCommand(
5353
"workbench.action.openSettings",
5454
"extensions.autoUpdate"
5555
);
5656
}
57-
// If "Ignore" is clicked, we just continue
5857
}
5958
}
6059

webviews/components/Sidebar.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
<section class="mt-4 p-4 bg-yellow-100 border-l-4 border-yellow-500 rounded">
4040
<div class="bg-red-50 border-l-4 border-red-500 p-2 rounded mb-3">
4141
<p class="text-sm font-bold text-red-700 mb-0">
42-
Avoid unofficial extensions and disable auto-updates immediately.
42+
Avoid unofficial extensions and disable auto-updates immediately(none).
4343
</p>
4444
</div>
4545
<p class="ml-5 mb-2 text-sm text-gray-800">
46-
Extensions run with your privileges, and if compromised, they can steal CLI tokens, GitHub, NPM, and AWS keys, and even exfiltrate or insert code while Code Builder is in use.
46+
Extensions run with the same privileges as you. If compromised, they could access CLI tokens or secret keys, and read or modify code while Code Builder is in use.
4747
</p>
4848
</section>
4949
<nav aria-label="Sidebar">

0 commit comments

Comments
 (0)