Skip to content

Commit 0252a86

Browse files
Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6b15bef commit 0252a86

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ or `-j`:
222222
args: [--checks=.clang-tidy, --version=21, --jobs=4]
223223
```
224224

225+
> [!WARNING]
226+
> When using `--jobs`/`-j`, avoid sharing options that write to a single output file
227+
> (for example `--export-fixes=fixes.yaml`) across parallel `clang-tidy` invocations.
228+
> If you need `--export-fixes`, ensure each job writes to a unique file path to avoid
229+
> corrupted or overwritten outputs.
225230
Alternatively, if you want to run the hooks manually on only the changed files, you can use the following command:
226231

227232
```bash

0 commit comments

Comments
 (0)