yalc icon indicating copy to clipboard operation
yalc copied to clipboard

Update copyDirSafe to accept a cache object rather than storing itself

Open Blasz opened this issue 5 years ago • 0 comments

This fixes #103 where a package cannot be added or pushed multiple times in a long running node process since the initial package store cache is always used.

The intention of the cache is to cache the store across the two calls in add.ts, which this modification achieves.

Blasz avatar Oct 15 '19 03:10 Blasz