mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
fix to undefined mixin error message
This commit is contained in:
@@ -18,7 +18,7 @@ tree.mixin.Call.prototype = {
|
||||
return rules;
|
||||
}
|
||||
}
|
||||
throw new(Error)("mixin " + this.selector.toCSS() + " is undefined");
|
||||
throw new(Error)(this.selector.toCSS().trim() + " is undefined");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user