@squiz/dxp-cli-next 5.21.0-develop.2 → 5.21.0-develop.3

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/lib/cmp/deploy.js CHANGED
@@ -77,7 +77,7 @@ const deployCommand = new commander_1.Command()
77
77
  yield definitions_1.ComponentPreUpload.forServer(def, outputDir);
78
78
  if (options.dryRun) {
79
79
  console.info(cli_color_1.default.yellow('INFO: Cancelling deployment due to --dry-run flag'));
80
- return fs.rm(dxpCacheDirPath, { recursive: true });
80
+ return;
81
81
  }
82
82
  yield (0, component_cli_lib_1.uploadComponentFolder)(apiService.client, componentServiceUrl, outputDir, dxpCacheDirPath);
83
83
  }
@@ -88,7 +88,7 @@ const deployCommand = new commander_1.Command()
88
88
  yield definitions_1.ComponentPreUpload.forEdge(def, outputDir);
89
89
  if (options.dryRun) {
90
90
  console.info(cli_color_1.default.yellow('INFO: Cancelling deployment due to --dry-run flag'));
91
- return fs.rm(dxpCacheDirPath, { recursive: true });
91
+ return;
92
92
  }
93
93
  yield (0, component_cli_lib_1.uploadComponentFolder)(apiService.client, componentServiceUrl, outputDir, dxpCacheDirPath);
94
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/dxp-cli-next",
3
- "version": "5.21.0-develop.2",
3
+ "version": "5.21.0-develop.3",
4
4
  "repository": {
5
5
  "url": "https://gitlab.squiz.net/dxp/dxp-cli-next"
6
6
  },