summaryrefslogtreecommitdiff
path: root/op_crates/web/11_url.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-11-03 16:19:29 +0100
committerGitHub <noreply@github.com>2020-11-03 16:19:29 +0100
commit8e914be7420715620cad74fbb020c5e87ac875a2 (patch)
tree2fefc0111f85533de2bd24e54f70c6c1241e3d3b /op_crates/web/11_url.js
parente736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff)
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
Diffstat (limited to 'op_crates/web/11_url.js')
-rw-r--r--op_crates/web/11_url.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/op_crates/web/11_url.js b/op_crates/web/11_url.js
index d60f9769a..af70dad21 100644
--- a/op_crates/web/11_url.js
+++ b/op_crates/web/11_url.js
@@ -593,7 +593,9 @@
try {
const isSpecial = specialSchemes.includes(parts.get(this).protocol);
parts.get(this).hostname = encodeHostname(value, isSpecial);
- } catch {}
+ } catch {
+ // pass
+ }
}
get href() {