From db58c3a0297cf4d6861e6b044bccbfb53e8c8a28 Mon Sep 17 00:00:00 2001 From: aMannus Date: Tue, 1 Jul 2025 01:56:55 +0200 Subject: [PATCH] Fix clang-format ps1 script (#5637) * Fix clang-format ps1 script * use path variable --- run-clang-format.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-clang-format.ps1 b/run-clang-format.ps1 index 063cec7af..3ff6998a6 100644 --- a/run-clang-format.ps1 +++ b/run-clang-format.ps1 @@ -25,7 +25,7 @@ if (-not (Test-Path $clangFormatFilePath) -or ($currentVersion -ne $requiredVers } $wc = New-Object net.webclient - $wc.Downloadfile($url, $llvmInstallerPath) + $wc.Downloadfile($url, $PSScriptRoot + $llvmInstallerPath) $sevenZipPath = "C:\Program Files\7-Zip\7z.exe" $specificFileInArchive = "bin\clang-format.exe"