You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rule.media = rule.media.replace(EXTENSION_RE, function(_, name) {
var replacement = map[name];
var column = rule.position.start.column;
var line = rule.position.start.line;
var source = rule.position.source;
you rely on position being defined, however some plugins mutate the AST and don't add the position property (@rework-pure-grids I'm looking at you...).
This breaks the plugin.
As the line and column are only used in an error message, it should be possible to check for their existence before using them.
The text was updated successfully, but these errors were encountered:
In this code:
you rely on position being defined, however some plugins mutate the AST and don't add the position property (@rework-pure-grids I'm looking at you...).
This breaks the plugin.
As the line and column are only used in an error message, it should be possible to check for their existence before using them.
The text was updated successfully, but these errors were encountered: