prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

CNI - Fix Cleanup Bug #232

Closed jasoncomes closed 3 months ago

jasoncomes commented 3 months ago

The 'fs-extra.remove' function didn't remove the previous manifest. Replacing it with 'rmSync' fixed the issue. The problem was likely caused by the presence of files and subdirectories, which prevented the function from removing everything altogether.