File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,12 @@ def clang_tidy_exist(version) -> bool:
3535
3636def clang_tools_binary_url (tool , version ) -> string :
3737 install_os = check_install_os ()
38- url = f"https://github.com/muttleyxd/clang-tools-static-binaries/releases/ \
39- download/master-208096c1/{ tool } -{ version } _{ install_os } -amd64" .replace (" " , "" )
40- return url
38+ base_url = "https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-208096c1"
39+ if install_os == "windows" :
40+ download_url = f"{ base_url } /{ tool } -{ version } _{ install_os } -amd64.exe" .replace (" " , "" )
41+ else :
42+ download_url = f"{ base_url } /{ tool } -{ version } _{ install_os } -amd64" .replace (" " , "" )
43+ return download_url
4144
4245
4346def install_clang_format (version , directory ) -> None :
You can’t perform that action at this time.
0 commit comments