lint is king
This commit is contained in:
parent
69e5af2308
commit
f1cb7d1187
|
@ -1,7 +1,7 @@
|
||||||
const fs = require('./fs.js');
|
const fs = require('./fs.js');
|
||||||
const utils = require('../utils/utils.js');
|
const utils = require('../utils/utils.js');
|
||||||
const constants = require('../constants');
|
const constants = require('../constants');
|
||||||
const _ = require('underscore')
|
const _ = require('underscore');
|
||||||
|
|
||||||
// TODO: pass other params like blockchainConfig, contract files, etc..
|
// TODO: pass other params like blockchainConfig, contract files, etc..
|
||||||
var Plugin = function(options) {
|
var Plugin = function(options) {
|
||||||
|
@ -222,7 +222,7 @@ Plugin.prototype.registerActionForEvent = function(eventName, cb) {
|
||||||
this.eventActions[eventName].push(cb);
|
this.eventActions[eventName].push(cb);
|
||||||
this.pluginTypes.push('eventActions');
|
this.pluginTypes.push('eventActions');
|
||||||
this.pluginTypes = _.uniq(this.pluginTypes);
|
this.pluginTypes = _.uniq(this.pluginTypes);
|
||||||
}
|
};
|
||||||
|
|
||||||
Plugin.prototype.runFilePipeline = function() {
|
Plugin.prototype.runFilePipeline = function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
Loading…
Reference in New Issue