Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2929 from nschonni/fix-feature-exists-param-name
Browse files Browse the repository at this point in the history
fix(feature-exists): Parameter name to "feature"
  • Loading branch information
mgreter committed Jul 15, 2019
2 parents c81a8e5 + 6d23160 commit 2c22d56
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 2c22d56

Please sign in to comment.