diff --git a/index.js b/index.js index 3e4ec5a..d813304 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,7 @@ Filter.prototype.build = function() { var operation = patch[0]; var relativePath = patch[1]; var entry = patch[2]; - var outputPath = destDir + '/' + (this.getDestFilePath(relativePath) || relativePath); + var outputPath = destDir + '/' + (Filter.prototype.getDestFilePath.call(this, relativePath) || relativePath); var outputFilePath = outputPath; this._debug('[operation:%s] %s', operation, relativePath);