We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603d73e commit 6bb78edCopy full SHA for 6bb78ed
src/lib/isURL.js
@@ -117,8 +117,8 @@ export default function isURL(url, options) {
117
if (!starts_with_slashes) {
118
const first_slash_position = after_colon.indexOf('/');
119
const before_slash = first_slash_position === -1
120
- ? after_colon
121
- : after_colon.substring(0, first_slash_position);
+ ? after_colon
+ : after_colon.substring(0, first_slash_position);
122
const at_position = before_slash.indexOf('@');
123
124
if (at_position !== -1) {
0 commit comments