Skip to content

Commit

Permalink
Merge pull request #561 from zowe/v2.x/rc
Browse files Browse the repository at this point in the history
Sync staging with RC
  • Loading branch information
1000TurquoisePogs authored Aug 5, 2024
2 parents 7252bc1 + f4fbf6b commit ef8078c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/webserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ function loadPem(locations, type, keyrings, pass) {
let saf = [];
types.filter(type=> type.startsWith('safkeyring'))
.forEach((type)=> { saf = saf.concat(locationsByType[type]) });
if (saf && os.platform() != 'os390') {
if (saf.length > 0 && os.platform() != 'os390') {
bootstrapLogger.severe('ZWED0145E');//Cannot load SAF keyring content outside of z/OS'
process.exit(constants.EXIT_NO_SAFKEYRING);
} else if (saf && keyring_js) {
} else if (saf.length > 0 && keyring_js) {
saf.forEach((safEntry)=> {
/*
In the latest code it's possible the entry could start with
Expand Down Expand Up @@ -181,7 +181,7 @@ function loadPem(locations, type, keyrings, pass) {
userId, keyringName, label);
}
});
} else if (saf && !keyring_js) {
} else if (saf.length > 0 && !keyring_js) {
//Cannot load SAF keyring due to missing keyring_js library');
bootstrapLogger.warn('ZWED0150E');
}
Expand Down
2 changes: 1 addition & 1 deletion test/webapp/websocket/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/webapp/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"utf-8-validate": "^5.0.2",
"ws": "^7.4.6"
}
}
}

0 comments on commit ef8078c

Please sign in to comment.