@sap-ux/deploy-tooling 0.18.4 → 0.18.6

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.
@@ -4,6 +4,7 @@ exports.createTransportRequest = createTransportRequest;
4
4
  exports.deploy = deploy;
5
5
  exports.undeploy = undeploy;
6
6
  const axios_extension_1 = require("@sap-ux/axios-extension");
7
+ const logger_1 = require("@sap-ux/logger");
7
8
  const node_fs_1 = require("node:fs");
8
9
  const config_1 = require("./config");
9
10
  const prompt_1 = require("./prompt");
@@ -39,7 +40,7 @@ async function handleError(command, error, provider, config, logger, archive) {
39
40
  }
40
41
  logger.error(`${command === tryDeploy ? 'Deployment' : 'Undeployment'} has failed.`);
41
42
  logger.debug((0, config_1.getConfigForLogging)(config));
42
- if (!config.verbose) {
43
+ if (!config.verbose && !(config.log !== undefined && config.log >= logger_1.LogLevel.Debug)) {
43
44
  logger.error('Change logging level to debug your issue\n\t(see examples https://github.com/SAP/open-ux-tools/tree/main/packages/deploy-tooling#configuration-with-logging-enabled)');
44
45
  }
45
46
  throw error;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Adeploy-tooling"
11
11
  },
12
- "version": "0.18.4",
12
+ "version": "0.18.6",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -34,11 +34,11 @@
34
34
  "chalk": "4.1.2",
35
35
  "@sap-ux/axios-extension": "1.25.26",
36
36
  "@sap-ux/btp-utils": "1.1.11",
37
- "@sap-ux/inquirer-common": "0.11.28",
37
+ "@sap-ux/inquirer-common": "0.11.29",
38
38
  "@sap-ux/logger": "0.8.3",
39
39
  "@sap-ux/system-access": "0.7.2",
40
40
  "@sap-ux/ui5-config": "0.30.1",
41
- "@sap-ux/project-input-validator": "0.6.71"
41
+ "@sap-ux/project-input-validator": "0.6.72"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/prompts": "2.4.9",