@atlashub/smartstack-cli 4.16.1 → 4.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -112727,6 +112727,10 @@ async function installCommands(options = {}) {
112727
112727
  logger.warning(`Source directory not found: ${dir}`);
112728
112728
  continue;
112729
112729
  }
112730
+ if (forceUpdate && await import_fs_extra2.default.pathExists(targetDir)) {
112731
+ await import_fs_extra2.default.remove(targetDir);
112732
+ logger.info(`Cleaned ${dir}/ for fresh install`);
112733
+ }
112730
112734
  const files = await getTemplateFiles(sourceDir);
112731
112735
  for (const file of files) {
112732
112736
  const src = (0, import_path2.join)(sourceDir, file);