trm-client 1.1.0 → 1.1.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.
@@ -58,8 +58,14 @@ function connect(commandArgs, actionArgs, createAliasIfNotExist = true) {
58
58
  const inquirer = actionArgs.inquirer;
59
59
  const noSystemAlias = commandArgs.noSystemAlias ? true : false;
60
60
  var aInputType = [];
61
- const aSapLogonConnections = yield (0, utils_1.getSapLogonConnections)();
61
+ var aSapLogonConnections;
62
62
  const aAlias = systemAlias_1.SystemAlias.getAll();
63
+ try {
64
+ aSapLogonConnections = yield (0, utils_1.getSapLogonConnections)();
65
+ }
66
+ catch (e) {
67
+ aSapLogonConnections = [];
68
+ }
63
69
  if (aAlias.length > 0 && !noSystemAlias) {
64
70
  aInputType.push({
65
71
  value: 'alias', name: 'System Alias'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-client",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "TRM (Transport Request Manager) Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",