diff --git a/techs/file-copy.js b/techs/file-copy.js index fa14105a..0a7236a1 100644 --- a/techs/file-copy.js +++ b/techs/file-copy.js @@ -50,8 +50,8 @@ module.exports = inherit(enb.BaseTech, { build: function () { var _this = this; var node = this.node; - var cache = node.getNodeCache(target); var target = node.unmaskTargetName(this._target); + var cache = node.getNodeCache(target); var targetPath = node.resolvePath(target); var sourceNode = this._sourceNode; var source;