mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
On Unix/macOS, rename(2) atomically replaces the destination file. The previous code ran unlinkSync before renameSync on all platforms, creating an unnecessary non-atomic window where a crash could lose data. Now the delete-before-rename is gated behind process.platform === 'win32', where rename cannot overwrite an existing file. |
||
|---|---|---|
| .. | ||
| ci | ||
| hooks | ||
| lib | ||
| release.sh | ||
| setup-package-manager.js | ||
| skill-create-output.js | ||