diff --git a/run-clang-format.ps1 b/run-clang-format.ps1 index 48de552a5..c4f10e60a 100644 --- a/run-clang-format.ps1 +++ b/run-clang-format.ps1 @@ -36,7 +36,7 @@ if (-not (Test-Path $clangFormatFilePath) -or ($currentVersion -ne $requiredVers $basePath = (Resolve-Path .).Path $files = Get-ChildItem -Path $basePath\soh -Recurse -File ` - | Where-Object { (-not ($_.FullName -like "*\soh\include\miniaudio*")) -and (-not ($_.FullName -like "*\soh\include\dr_libs\*")) -and ` + | Where-Object { (-not ($_.FullName -like "*\soh\include\miniaudio*")) -and ` ($_.Extension -eq '.c' -or $_.Extension -eq '.cpp' -or ` (($_.Extension -eq '.h' -or $_.Extension -eq '.hpp') -and ` (-not ($_.FullName -like "*\soh\src\*" -or $_.FullName -like "*\soh\include\*")))) -and `