From 88375728ca837843009929d5ddb3088ea18216dc Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Mon, 4 Dec 2023 06:46:11 -0500 Subject: [PATCH] Fix saf list concat Signed-off-by: 1000TurquoisePogs --- lib/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webserver.js b/lib/webserver.js index ca79d734..8b3619cc 100644 --- a/lib/webserver.js +++ b/lib/webserver.js @@ -137,7 +137,7 @@ function loadPem(locations, type, keyrings, pass) { const types = Object.keys(locationsByType); let saf = []; types.filter(type=> type.startsWith('safkeyring')) - .forEach((type)=> { saf.concat(locationsByType[type]) }); + .forEach((type)=> { saf = saf.concat(locationsByType[type]) }); if (saf && os.platform() != 'os390') { bootstrapLogger.severe('ZWED0145E');//Cannot load SAF keyring content outside of z/OS' process.exit(constants.EXIT_NO_SAFKEYRING);