Skip to content

Commit 84cdf40

Browse files
committed
refactor(utils): 删除冗余日志代码以简化更新检查
- 移除 checkForUpdates 中的启动和版本信息日志输出 - 减少控制台不必要的打印内容 - 保持核心功能请求代码不变 - 提升代码整洁度和可维护性
1 parent 4fa2ccd commit 84cdf40

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/vscode-ide-companion/src/utils/checkForUpdates.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export async function checkForUpdates(context: CheckForUpdatesContext, log: (mes
2020
try {
2121
const extensionId = context.extension.id;
2222
const currentVersion = context.extension.packageJSON.version;
23-
log(`CheckForUpdates started`);
24-
log(`==========================================`);
25-
log(`Checking for updates for ${extensionId} v${currentVersion}`);
26-
log(`==========================================`);
2723

2824
const response = await fetch("https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery", {
2925
method: "POST",

0 commit comments

Comments
 (0)