chore(proxy): mark the unused os.walk dirs name in the UI rewrite helper

Moving the loop into _apply_server_root_path_to_ui made dirs a function
local, which basedpyright reports as reportUnusedVariable.
This commit is contained in:
shehryars715 2026-10-12 00:01:19 +05:00
parent 7f7111a2fa
commit 6f2c2b22b8

View file

@ -2380,7 +2380,7 @@ try:
)
def _apply_server_root_path_to_ui(ui_dir: str, server_root_path: str) -> None:
for root, dirs, files in os.walk(ui_dir):
for root, _dirs, files in os.walk(ui_dir):
for filename in files:
file_path = os.path.join(root, filename)
# Skip binary files and files that don't need path replacement