aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/url-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/url-helpers.ts')
-rw-r--r--src/helpers/url-helpers.ts2
1 files changed, 1 insertions, 1 deletions
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) {
30 30
31// TODO: Need to verify and fix/remove the skipping logic. Ideally, we should never skip this check 31// TODO: Need to verify and fix/remove the skipping logic. Ideally, we should never skip this check
32export function openExternalUrl(url: string | URL, skipValidityCheck: boolean = false) { 32export function openExternalUrl(url: string | URL, skipValidityCheck: boolean = false) {
33 debug('for url:', url, 'skipValidityCheck:', skipValidityCheck); 33 debug('Open url:', url, 'with skipValidityCheck:', skipValidityCheck);
34 if (skipValidityCheck || isValidExternalURL(url)) { 34 if (skipValidityCheck || isValidExternalURL(url)) {
35 shell.openExternal(url.toString()); 35 shell.openExternal(url.toString());
36 } 36 }