rizaldy.club/quartz/cli
Jimmy He 002bbc37b1
fix: Continue setup even if a file to delete is not found (#663)
* Continue setup even if a file to delete is not found

For various reasons, `.gitkeep` may be deleted already.

(In my case, even though I followed the [Getting Started](https://quartz.jzhao.xyz) instructions exactly, my first run resulted in an `fatal: 'upstream' does not appear to be a git repository`)

If we try to delete `.gitkeep` again and don't ignore `ENOENT`, then the whole setup fails.

* Use fs.existsSync
2024-01-01 14:14:37 -08:00
..
args.js feat: option to specify npx quartz sync message (closes #583) 2023-11-12 14:27:53 -08:00
constants.js cleanup: rework cli to allow invoking create and build outside of cli (#428) 2023-08-27 15:59:51 -07:00
handlers.js fix: Continue setup even if a file to delete is not found (#663) 2024-01-01 14:14:37 -08:00
helpers.js fix: better error handling on spawnsync failures 2023-12-11 10:38:55 -08:00