diff --git a/src/utils/sassValueParser/index.js b/src/utils/sassValueParser/index.js index bd722a21..a26f44bb 100644 --- a/src/utils/sassValueParser/index.js +++ b/src/utils/sassValueParser/index.js @@ -902,7 +902,7 @@ function isDotBefore(before) { } function isProtocolBefore(before) { - return before.search(/https?:/) !== 1; + return before.search(/https?:/) !== -1; } function isFunctionBefore(before) {