From 3dba74dd7ceb84fdc119179dde015cfc6cb1c19f Mon Sep 17 00:00:00 2001 From: krister Date: Wed, 6 Feb 2019 20:02:58 -0300 Subject: [PATCH] add missing minus sign --- src/utils/sassValueParser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {