Skip to content

Commit

Permalink
add missing minus sign
Browse files Browse the repository at this point in the history
  • Loading branch information
kristerkari committed Feb 6, 2019
1 parent 238b093 commit 3dba74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/sassValueParser/index.js
Expand Up @@ -902,7 +902,7 @@ function isDotBefore(before) {
}

function isProtocolBefore(before) {
return before.search(/https?:/) !== 1;
return before.search(/https?:/) !== -1;
}

function isFunctionBefore(before) {
Expand Down

0 comments on commit 3dba74d

Please sign in to comment.