remove unnecessary el passed to context.deprecate

This commit is contained in:
Michael Rawlings 2016-12-15 18:03:12 -08:00
parent eb2351212d
commit cef511baaa

View File

@ -53,7 +53,7 @@ module.exports = function assignWidgetId(isRepeated) {
}
if (el.hasAttribute('w-id')) {
context.deprecate('The "w-id" attribute is deprecated. Please use "ref" instead.', el);
context.deprecate('The "w-id" attribute is deprecated. Please use "ref" instead.');
if (widgetRef) {
this.addError('The "w-id attribute cannot be used in conjuction with the "ref" attribute.');