Skip to content

Commit

Permalink
WIP Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Oct 29, 2024
1 parent 0a363c6 commit 6c973e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/server/shims/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
16 changes: 8 additions & 8 deletions src/main/server/shims/cassproject.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let frameworkGet = async function (id) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
},
repo
);
Expand All @@ -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
);
Expand All @@ -40,7 +40,7 @@ let competencyGet = async function (id) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
},
repo
);
Expand All @@ -56,7 +56,7 @@ let repositoryGet = async function (id) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
},
repo
);
Expand All @@ -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.
},
);
}
Expand All @@ -89,7 +89,7 @@ let alignmentGet = async function (id) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
},
repo
);
Expand All @@ -106,7 +106,7 @@ let conceptGet = async function (id) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
},
repo
);
Expand All @@ -123,7 +123,7 @@ let multiput = async function (repo, ary) {
resolve(f);
},
function (error) {
reject(error);
reject(error); // NOSONAR - We support non-Error strings.
}
);
}
Expand Down

0 comments on commit 6c973e8

Please sign in to comment.