@sap-ux/deploy-tooling 0.2.4 → 0.2.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.
@@ -186,7 +186,7 @@ function handleAxiosError(response, archive, service, config, logger) {
186
186
  logger.info('Please maintain correct credentials to avoid seeing this error\n\t(see help: https://www.npmjs.com/package/@sap/ux-ui5-tooling#setting-environment-variables-in-a-env-file)');
187
187
  logger.info('Please enter your credentials for this deployment.');
188
188
  const credentials = yield (0, prompt_1.promptCredentials)((_a = service.defaults.auth) === null || _a === void 0 ? void 0 : _a.username);
189
- if (credentials) {
189
+ if (Object.keys(credentials).length) {
190
190
  service.defaults.auth = credentials;
191
191
  yield tryDeploy(archive, service, config, logger);
192
192
  return true;
@@ -126,6 +126,7 @@ function mergeConfig(taskConfig, options) {
126
126
  const target = mergeTarget(taskConfig.target, options);
127
127
  const config = { app, target, credentials: taskConfig.credentials };
128
128
  config.test = mergeFlag(options.test, taskConfig.test);
129
+ config.safe = mergeFlag(options.safe, taskConfig.safe);
129
130
  config.keep = mergeFlag(options.keep, taskConfig.keep);
130
131
  config.strictSsl = mergeFlag(options.strictSsl, taskConfig.strictSsl);
131
132
  config.yes = mergeFlag(options.yes, taskConfig.yes);
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.2.4",
12
+ "version": "0.2.6",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "!dist/**/*.map"
27
27
  ],
28
28
  "dependencies": {
29
- "@sap-ux/axios-extension": "1.2.2",
29
+ "@sap-ux/axios-extension": "1.2.4",
30
30
  "@sap-ux/btp-utils": "0.11.5",
31
31
  "@sap-ux/logger": "0.3.5",
32
32
  "@sap-ux/store": "0.3.10",