Closed jLouzado closed 5 years ago
@crookedneighbor sorry to flog a dead horse but after doing a little more debugging I feel like my solution here is wrong; it might be better to explicitly throw a TypeError saying that the String is null
.
url
sanitizeUrl
gets called before the function resolves, in which case url
will be nullRight now, if v3.0.0 is in use the app won't break or throw an error or anything and it'll require an additional test to see what happens.
I was going to submit a second PR but got a little busy over the holidays 🙈
Released in v3.0.0