refactor: Delete unnecessary interface re-exports from core, and delete unused code in nodes-base (no-changelog) (#6631)
This commit is contained in:
committed by
GitHub
parent
329d22f5d1
commit
e57e85edf7
@@ -14,7 +14,7 @@ import { URL } from 'url';
|
||||
|
||||
function validateURL(url: string) {
|
||||
try {
|
||||
const _parseUrl = new URL(url);
|
||||
new URL(url);
|
||||
return true;
|
||||
} catch (err) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user