From 54254493020f5bc0d26d65f883b5418570f1901b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E6=83=A0=E6=B0=91?= <9155544@qq.com> Date: Mon, 27 Apr 2026 16:04:58 +0800 Subject: [PATCH] docs(installer): update JSDoc to mention HTTP support in cloneRepo Add HTTP to the cloneRepo method's JSDoc param description. Also fixes minor spacing in empty arrow functions (formatting). --- tools/installer/modules/custom-module-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/installer/modules/custom-module-manager.js b/tools/installer/modules/custom-module-manager.js index 9814fe107..479cfec64 100644 --- a/tools/installer/modules/custom-module-manager.js +++ b/tools/installer/modules/custom-module-manager.js @@ -312,7 +312,7 @@ class CustomModuleManager { /** * Clone a custom module repository to cache. * Supports any Git host (GitHub, GitLab, Bitbucket, self-hosted, etc.). - * @param {string} sourceInput - Git URL (HTTPS or SSH) + * `@param` {string} sourceInput - Git URL (HTTPS, HTTP, or SSH) * @param {Object} [options] - Clone options * @param {boolean} [options.silent] - Suppress spinner output * @param {boolean} [options.skipInstall] - Skip npm install (for browsing before user confirms) @@ -336,7 +336,7 @@ class CustomModuleManager { const createSpinner = async () => { if (silent) { - return { start() {}, stop() {}, error() {} }; + return { start() { }, stop() { }, error() { } }; } return await prompts.spinner(); };