mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed SonarQube issues.
This commit is contained in:
@@ -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$/',
|
||||
|
||||
Reference in New Issue
Block a user