From 5b9d3423eff8bd531d89959b9902c3f0563c6c2f Mon Sep 17 00:00:00 2001 From: Toshiyuki Ienaga Date: Thu, 5 Feb 2026 08:49:48 +0900 Subject: [PATCH] Fix for Useless assignment to local variable Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/plugins/rehype-rewrite-links.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/rehype-rewrite-links.mjs b/src/plugins/rehype-rewrite-links.mjs index be814ed8..7363d215 100644 --- a/src/plugins/rehype-rewrite-links.mjs +++ b/src/plugins/rehype-rewrite-links.mjs @@ -22,7 +22,7 @@ export function rehypeRewriteLinks() { // Determine the base URL based on file location let basePath = ''; - let lang = 'ja'; + let lang; // Extract language and context from file path // e.g., /path/to/player/specs/ja/display-object.md