const assetsTarget = join(target, internals.kAssetsDirectoryName);
internals.debuglog(`Removing ${assetsTarget}`);
- await rm(assetsTarget, { recursive: true });
+ await rm(assetsTarget, { recursive: true, force: true });
for (let i = 0; i < posts.length; ++i) {
const postSourcePath = join(source, `${i}`);