Fixed SonarQube issues.

This commit is contained in:
Akshay Joshi
2022-09-08 18:08:58 +05:30
parent 603ce21d24
commit 7086719640
129 changed files with 945 additions and 981 deletions

View File

@@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////////
export function getHelpUrl(base_path, file, version) {
var major = Math.floor(version / 10000),
let major = Math.floor(version / 10000),
minor = Math.floor(version / 100) - (major * 100),
url = '',
replace_string = major + '.' + minor;
@@ -28,7 +28,7 @@ export function getHelpUrl(base_path, file, version) {
}
export function getEPASHelpUrl(version) {
var major = Math.floor(version / 10000),
let major = Math.floor(version / 10000),
minor = Math.floor(version / 100) - (major * 100),
epasHelp11Plus = 'https://www.enterprisedb.com/docs/epas/$VERSION$/epas_compat_sql/',
epasHelp = 'https://www.enterprisedb.com/docs/epas/$VERSION$/',