Browse Source

Fixes CodeQL (#4091)

Henning Dieterichs 1 year ago
parent
commit
74e783a53a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      test/manual/dev-setup.js

+ 4 - 4
test/manual/dev-setup.js

@@ -35,10 +35,10 @@
 		div.style.padding = '5px 20px 5px 5px';
 		div.style.zIndex = '1000';
 
-		div.innerHTML =
-			'<ul><li>' +
-			renderLoadingOptions(true) +
-			(isRelease ? '' : `</li><li>${renderLoadingOptions(false)}`) +
+		div.innerHTML = // CodeQL [SM03712] This code is not deployed and serves as local test code. No risk of malicious input.
+			'<ul><li>' + // CodeQL [SM03712] This code is not deployed and serves as local test code. No risk of malicious input.
+			renderLoadingOptions(true) + // CodeQL [SM03712] This code is not deployed and serves as local test code. No risk of malicious input.
+			(isRelease ? '' : `</li><li>${renderLoadingOptions(false)}`) + // CodeQL [SM03712] This code is not deployed and serves as local test code. No risk of malicious input.
 			'</li></ul>'; // CodeQL [SM03712] This code is not deployed and serves as local test code. No risk of malicious input.
 
 		document.body.appendChild(div);