From 53defd6244e8b43d95440af8507173bf2e3739fa Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 17 Aug 2021 08:49:04 +0530 Subject: refactor: Minor refactoring to handle NaN in 'setBadge' --- src/helpers/url-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers') diff --git a/src/helpers/url-helpers.ts b/src/helpers/url-helpers.ts index e330fae40..3657ae693 100644 --- a/src/helpers/url-helpers.ts +++ b/src/helpers/url-helpers.ts @@ -30,7 +30,7 @@ export async function openPath(folderName: string) { // TODO: Need to verify and fix/remove the skipping logic. Ideally, we should never skip this check export function openExternalUrl(url: string | URL, skipValidityCheck: boolean = false) { - debug('for url:', url, 'skipValidityCheck:', skipValidityCheck); + debug('Open url:', url, 'with skipValidityCheck:', skipValidityCheck); if (skipValidityCheck || isValidExternalURL(url)) { shell.openExternal(url.toString()); } -- cgit v1.2.3-54-g00ecf