Skip to content

Commit 6d23160

Browse files
committed
fix(feature-exists): Parameter name to "feature"
To match Ruby/Dart Sass Closes #2928
1 parent c713140 commit 6d23160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fn_miscs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ namespace Sass {
7676
}
7777
}
7878

79-
Signature feature_exists_sig = "feature-exists($name)";
79+
Signature feature_exists_sig = "feature-exists($feature)";
8080
BUILT_IN(feature_exists)
8181
{
82-
std::string s = unquote(ARG("$name", String_Constant)->value());
82+
std::string s = unquote(ARG("$feature", String_Constant)->value());
8383

8484
static const auto *const features = new std::unordered_set<std::string> {
8585
"global-variable-shadowing",

0 commit comments

Comments
 (0)