mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
* Fix ENOENT error on first start when no user dir Write backup using `copySync` and move it below the `fsync` to ensure file is present when backup is made. * Check for path to exist before attempting backup