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
Quartz v4
“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming
Quartz is a set of tools that helps you publish your digital garden and notes as a website for free. Quartz v4 features a from-the-ground rewrite focusing on end-user extensibility and ease-of-use.
If you are looking for Quartz v3, you can find it on the hugo
branch.
🔗 Read the documentation and get started: https://quartz.jzhao.xyz/
Sponsors
Description
Languages
TypeScript
84.9%
SCSS
8.8%
JavaScript
5.9%
Shell
0.3%