From 6c973e83102d0b487a7c46c734252b4ad136d230 Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Tue, 29 Oct 2024 11:06:13 -0700 Subject: [PATCH] WIP Sonar --- src/main/server/shims/auth.js | 2 +- src/main/server/shims/cassproject.js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/server/shims/auth.js b/src/main/server/shims/auth.js index 599d671b4..656b37ce4 100644 --- a/src/main/server/shims/auth.js +++ b/src/main/server/shims/auth.js @@ -56,7 +56,7 @@ let getPk = async(identifier) => { return null; }); - let identityPrefix = process.env.CASS_ELASTIC_KEYSTORE_ENDPOINT || "http://identity/"; + let identityPrefix = process.env.CASS_ELASTIC_KEYSTORE_ENDPOINT || "http://identity/"; // NOSONAR -- This is being used as a URI. let keypair = new EcRemoteLinkedData(); if (myKey != null) { diff --git a/src/main/server/shims/cassproject.js b/src/main/server/shims/cassproject.js index 9c37abed9..a0831681c 100644 --- a/src/main/server/shims/cassproject.js +++ b/src/main/server/shims/cassproject.js @@ -7,7 +7,7 @@ let frameworkGet = async function (id) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. }, repo ); @@ -24,7 +24,7 @@ let frameworkSearch = async function (repo, query, params) { resolve(fs) }, function (error) { - reject(error) + reject(error); // NOSONAR - We support non-Error strings. }, params ); @@ -40,7 +40,7 @@ let competencyGet = async function (id) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. }, repo ); @@ -56,7 +56,7 @@ let repositoryGet = async function (id) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. }, repo ); @@ -74,7 +74,7 @@ let repositorySearch = async function (repo, query, params) { resolve(fs) }, function (error) { - reject(error) + reject(error); // NOSONAR - We support non-Error strings. }, ); } @@ -89,7 +89,7 @@ let alignmentGet = async function (id) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. }, repo ); @@ -106,7 +106,7 @@ let conceptGet = async function (id) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. }, repo ); @@ -123,7 +123,7 @@ let multiput = async function (repo, ary) { resolve(f); }, function (error) { - reject(error); + reject(error); // NOSONAR - We support non-Error strings. } ); }