Make sonarcloud happier (#1810)
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ async function pollForUpdates(): Promise<void> {
|
||||
|
||||
export async function start(updateBaseUrl: string): Promise<void> {
|
||||
if (!(await available(updateBaseUrl))) return;
|
||||
if (updateBaseUrl.slice(-1) !== "/") {
|
||||
if (!updateBaseUrl.endsWith("/")) {
|
||||
updateBaseUrl = updateBaseUrl + "/";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user