remove state arg from pre and post plugin hooks
This commit is contained in:
parent
e62a00df50
commit
336be752f8
@ -466,7 +466,7 @@ export default class File extends Store {
|
||||
for (let pass of (this.pluginPasses: Array<PluginPass>)) {
|
||||
let plugin = pass.plugin;
|
||||
let fn = plugin[key];
|
||||
if (fn) fn.call(pass, this, pass);
|
||||
if (fn) fn.call(pass, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user