Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gitignore: Fix cross-platform compatibility for
sed
in-place editing
- On macOS, `sed -i extension` requires a space between `-i` and the extension to perform in-place changes without creating a backup file. - On Linux, `sed -i[extension]` or `--in-place[extension]` does not require a space, which makes it difficult to write a single command that works on both platforms. As a result, the JSON backup file generated on macOS with the `-e` extension is ignored.
- Loading branch information