josephdpurcell / readachangelog

Keep a changelog? Read a changelog.
ISC License
0 stars 0 forks source link

Add ability to clear cache #19

Open josephdpurcell opened 2 weeks ago

josephdpurcell commented 2 weeks ago

We have to use cache because the package has to be extracted (unless we can figure out how to stream read with pacote). So we can't have a flag to bypass cache.

But, we could add a command to clear cache.

Why? Because weird things happen. I just ran into a case where a package got unpacked without a chnagelog. I cleared cache and did it again and then it had the changelog, for that same version! It seems like a logical impossibility, but here we are and I'm sure it won't be the last time.