Skip to content

Commit

Permalink
Merge pull request #2 from enb-make/fix-get-content
Browse files Browse the repository at this point in the history
Fixed `runTechAndGetContent` method: use `utf-8`
  • Loading branch information
blond committed Jun 24, 2015
2 parents 2af7e96 + 5be4ea6 commit a91b873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mock-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module.exports = inherit({
return vow.when(tech.build()).then(function () {
return this._buildDefer.promise().then(function () {
return vow.all(tech.getTargets().map(function (targetName) {
return asyncFs.read(_this.resolvePath(targetName));
return asyncFs.read(_this.resolvePath(targetName), 'utf-8');
}, this));
}.bind(this));
}.bind(this));
Expand Down

0 comments on commit a91b873

Please sign in to comment.