mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00: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