A clear and concise description of what the bug is.
To Reproduce
pressed control c in terminal
Installation
[X] I run it via npx alacritty-themes
[ ] I installed it via npm i -g alacritty-themes (global installation)
Run alacritty-themes
[ ] Did you add params? yes, I type "alacritty-themes Ayu-Dark"
[X] Did you add params? no, I just type "alacritty-themes" then click up/down keys
See error
Expected behavior
A clear and concise description of what you expected to happen.
Somehow broke it pressing control + c. I get this error:
backup file was created: /home/brett/.config/alacritty/alacritty.yml.1683059351612.bak
/usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676
if (this.errors.length > 0) throw new Error('Document with errors cannot be stringified');
^
Error: Document with errors cannot be stringified
at Document.toString (/usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676:39)
at String ()
at updateThemeWithFile (/usr/local/lib/node_modules/alacritty-themes/index.js:98:22)
at updateTheme (/usr/local/lib/node_modules/alacritty-themes/index.js:117:10)
at /usr/local/lib/node_modules/alacritty-themes/index.js:124:12
Operating System:
[ ] Windows
[ ] Ubuntu
[ ] Pop Os
[ ] Arch
[X] Fedora KDE 36
Add your alacritty.yml content
# your alacritty content here
![error](https://user-images.githubusercontent.com/63263447/235779633-0bd1f7af-8957-4eaf-8d34-cf68ad990997.png)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
pressed control c in terminal
Expected behavior
A clear and concise description of what you expected to happen.
Somehow broke it pressing control + c. I get this error: backup file was created: /home/brett/.config/alacritty/alacritty.yml.1683059351612.bak /usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676 if (this.errors.length > 0) throw new Error('Document with errors cannot be stringified'); ^
Error: Document with errors cannot be stringified at Document.toString (/usr/local/lib/node_modules/alacritty-themes/node_modules/yaml/dist/Document-9b4560a1.js:676:39) at String ()
at updateThemeWithFile (/usr/local/lib/node_modules/alacritty-themes/index.js:98:22)
at updateTheme (/usr/local/lib/node_modules/alacritty-themes/index.js:117:10)
at /usr/local/lib/node_modules/alacritty-themes/index.js:124:12
Operating System:
Add your alacritty.yml content
Screenshots
Add screenshots to help explain your problem.