anandundavia / thanos-js

A casual (but dangerous) package that will let Thanos snap fingers and delete random files inside a directory
MIT License
426 stars 16 forks source link

Odds are incorrect #2

Closed ashgillman closed 5 years ago

ashgillman commented 5 years ago

README.md states:

He will wipe out about one third of your files if he snaps fingers without gauntlet. And If he has the gauntlet, he will crush about half of them.

However, the following line actually wipes out about one quarter of your files if he snaps fingers without gauntlet.

https://github.com/anandundavia/thanos-js/blob/c170118bad3f6062ad820dc2a67485d17d6f970c/lib/snap-fingers.js#L29

anandundavia commented 5 years ago

Ah yes, I will change the readme.md.

You are welcome to raise a PR if you want to :D