mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
Merge pull request #2369 from ddprrt/extend-warnings
making sure :extend warning does not bubble up, fixes #1618
This commit is contained in:
@@ -105,7 +105,7 @@ ProcessExtendsVisitor.prototype = {
|
||||
},
|
||||
checkExtendsForNonMatched: function(extendList) {
|
||||
extendList.filter(function(extend) {
|
||||
return !extend.hasFoundMatches;
|
||||
return !extend.hasFoundMatches && extend.parent_ids.length == 1;
|
||||
}).forEach(function(extend) {
|
||||
var selector = "_unknown_";
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user