Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bs init overwrites existing presentation md #35

Closed
SebastianApel opened this issue Aug 22, 2018 · 3 comments
Closed

bs init overwrites existing presentation md #35

SebastianApel opened this issue Aug 22, 2018 · 3 comments

Comments

@SebastianApel
Copy link

Hi Team,

I accidently have run "bs init" a second time. I've lost the source code of my presentation, because the existing "presentation md" was overwritten. Definitely not cool.

Expected behavious: Write only the files that are missing (if any) - NEVER overwrite existing files.

Looking forward to hearing from you,
Sebastian

@sinedied sinedied added the bug label Aug 22, 2018
@sinedied
Copy link
Owner

sinedied commented Aug 22, 2018

I'm sorry for you... That should be simple to fix, I'll do that.
Another idea could be to automatically init a git repo with bs init to encourage using version control

@SebastianApel
Copy link
Author

SebastianApel commented Sep 11, 2018

aweseome, thanks. Do you already have a hypothesis for ETA?

sinedied added a commit that referenced this issue Mar 15, 2022
# [3.1.0](3.0.0...3.1.0) (2022-03-15)

### Bug Fixes

* deprecation warnings in sass template ([1c33982](1c33982))
* never overwrite presentation files with init command (fixes [#35](#35)) ([3a9d558](3a9d558))

### Features

* migrate from node-sass to sass ([ab146fa](ab146fa))
@sinedied
Copy link
Owner

🎉 This issue has been resolved in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants