hedronvision / bazel-compile-commands-extractor

Goal: Enable awesome tooling for Bazel users of the C language family.
Other
659 stars 109 forks source link

Remove compile_commands.json before writing it #193

Open keith opened 3 months ago

keith commented 3 months ago

This fix existing as a symlink to a cmake directory seems like a pretty common use case, and the error when it fails to write is pretty inscrutable.

Fixes https://github.com/hedronvision/bazel-compile-commands-extractor/issues/105