Skip to content

Commit 6b3040f

Browse files
committed
Bind pluginConfig as 'this' to function property
1 parent 4d3c11a commit 6b3040f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var DeployPluginBase = CoreObject.extend({
4343
readConfig: function(property){
4444
var configuredValue = this.pluginConfig[property];
4545
if (typeof configuredValue === 'function') {
46-
return configuredValue.call(this, this.context);
46+
return configuredValue.call(this.pluginConfig, this.context);
4747
}
4848
return configuredValue;
4949
},

0 commit comments

Comments
 (0)