Skip to content

Commit

Permalink
Fix bug with read method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Templarian committed Feb 15, 2020
1 parent 145fd84 commit 7819f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mdi/util",
"version": "0.3.0",
"version": "0.3.2",
"description": "Util helpers for support builds.",
"main": "util.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion util.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.write = (file, data) => {
};

exports.read = (file) => {
fs.readFileSync(file);
return fs.readFileSync(file, 'utf8');
};

exports.exists = (file) => {
Expand Down

0 comments on commit 7819f0e

Please sign in to comment.