From c08f9899dfee6eb7d4f545006bb10da11ce57882 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 04:58:50 +0000 Subject: [PATCH] jsweep: remove rewriteUrl re-export from convert_gateway_config_claude.cjs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rewriteUrl function was imported from convert_gateway_config_shared.cjs but not used within the module—it was only re-exported, leaking an unintended API surface. Remove it from both the import destructuring and module.exports to align with the pattern used in convert_gateway_config_codex.cjs and reduce coupling. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- actions/setup/js/convert_gateway_config_claude.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/setup/js/convert_gateway_config_claude.cjs b/actions/setup/js/convert_gateway_config_claude.cjs index 4662110179e..3aa2041d6fe 100644 --- a/actions/setup/js/convert_gateway_config_claude.cjs +++ b/actions/setup/js/convert_gateway_config_claude.cjs @@ -23,7 +23,7 @@ require("./shim.cjs"); */ const path = require("path"); -const { rewriteUrl, normalizeGatewayEntry, loadGatewayContext, logCLIFilters, filterAndTransformServers, logServerStats, writeSecureOutput } = require("./convert_gateway_config_shared.cjs"); +const { normalizeGatewayEntry, loadGatewayContext, logCLIFilters, filterAndTransformServers, logServerStats, writeSecureOutput } = require("./convert_gateway_config_shared.cjs"); const OUTPUT_PATH = path.join(process.env.RUNNER_TEMP || "/tmp", "gh-aw/mcp-config/mcp-servers.json"); @@ -69,4 +69,4 @@ if (require.main === module) { main(); } -module.exports = { rewriteUrl, transformClaudeEntry, main }; +module.exports = { transformClaudeEntry, main };