diff --git a/tools/utils/utils.js b/tools/utils/utils.js index 73ef7c12c3..9b23caf2c4 100644 --- a/tools/utils/utils.js +++ b/tools/utils/utils.js @@ -104,11 +104,6 @@ ${addressEntries.map(entry => entry.address).join(', ')}`); } }; -exports.hasScheme = function (str) { - return !! str.match(/^[A-Za-z][A-Za-z0-9+-\.]*\:\/\//); -}; - - exports.hasScheme = function (str) { return !! str.match(/^[A-Za-z][A-Za-z0-9+-\.]*\:\/\//); };