Skip to content

Commit 57bed77

Browse files
committed
log custom plugin attributes
1 parent 9f6a2ae commit 57bed77

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

lib/loader/pluginLoader.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,23 @@
269269
return;
270270
}
271271

272+
// Log custom plugin attributes.
273+
// for(var plugin_key in plugin) {
274+
// if (PLUGINS_FIELDS.indexOf(plugin_key) === -1
275+
// && PLUGIN_METHODS.indexOf(plugin_key) === -1
276+
// && ['provides',
277+
// 'listed',
278+
// 'tests',
279+
// 're',
280+
// 'notPlugin',
281+
// 'highestPriority',
282+
// 'lowestPriority',
283+
// 'startIteration',
284+
// 'finishIteration'].indexOf(plugin_key) === -1) {
285+
// console.log('--- unknown plugin attr', getFileName(bits[bits.length - 1]), plugin_key)
286+
// }
287+
// }
288+
272289
// Check post plugin.
273290
// TODO: only prapereLink method abailable.
274291
// TODO: exclude prapereLink method from other plugins.

0 commit comments

Comments
 (0)