Skip to content

Commit

Permalink
fix(feature-exists): Parameter name to "feature"
Browse files Browse the repository at this point in the history
To match Ruby/Dart Sass
Closes sass#2928
  • Loading branch information
nschonni committed Jun 28, 2019
1 parent c713140 commit 6d23160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fn_miscs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ namespace Sass {
}
}

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

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

0 comments on commit 6d23160

Please sign in to comment.