@sap-ux/abap-deploy-config-sub-generator 0.0.14 → 0.0.15
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/generators/app/index.js
CHANGED
|
@@ -113,8 +113,8 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
|
|
|
113
113
|
await this._initBackendConfig();
|
|
114
114
|
}
|
|
115
115
|
catch (e) {
|
|
116
|
-
if (e === deploy_config_generator_shared_1.
|
|
117
|
-
deploy_config_generator_shared_1.DeploymentGenerator.logger?.debug((0, utils_1.t)('debug.initFailed', { error:
|
|
116
|
+
if (e === deploy_config_generator_shared_1.ERROR_TYPE.ABORT_SIGNAL) {
|
|
117
|
+
deploy_config_generator_shared_1.DeploymentGenerator.logger?.debug((0, utils_1.t)('debug.initFailed', { error: deploy_config_generator_shared_1.ErrorHandler.getErrorMsgFromType(deploy_config_generator_shared_1.ERROR_TYPE.ABORT_SIGNAL) }));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
throw e;
|
|
@@ -9,8 +9,8 @@ const deploy_config_generator_shared_1 = require("@sap-ux/deploy-config-generato
|
|
|
9
9
|
* @param path - the path that does not exist
|
|
10
10
|
*/
|
|
11
11
|
function handleProjectDoesNotExist(appWizard, path) {
|
|
12
|
-
const errorMsg = deploy_config_generator_shared_1.
|
|
13
|
-
(0, deploy_config_generator_shared_1.handleErrorMessage)(appWizard, errorMsg);
|
|
14
|
-
throw deploy_config_generator_shared_1.
|
|
12
|
+
const errorMsg = deploy_config_generator_shared_1.ErrorHandler.fileDoesNotExist(path);
|
|
13
|
+
(0, deploy_config_generator_shared_1.handleErrorMessage)(appWizard, { errorMsg });
|
|
14
|
+
throw deploy_config_generator_shared_1.ERROR_TYPE.ABORT_SIGNAL;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=error-handler.js.map
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
7
7
|
"directory": "packages/abap-deploy-config-sub-generator"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.15",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "generators/app/index.js",
|
|
12
12
|
"files": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@sap-ux/abap-deploy-config-inquirer": "1.2.0",
|
|
25
25
|
"@sap-ux/abap-deploy-config-writer": "0.0.74",
|
|
26
26
|
"@sap-ux/btp-utils": "0.17.2",
|
|
27
|
-
"@sap-ux/deploy-config-generator-shared": "0.0.
|
|
27
|
+
"@sap-ux/deploy-config-generator-shared": "0.0.11",
|
|
28
28
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
29
29
|
"@sap-ux/fiori-generator-shared": "0.7.19",
|
|
30
30
|
"@sap-ux/logger": "0.6.0",
|