diff --git a/package.json b/package.json index 6569da8..4131287 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/util.js b/util.js index a1bcc16..fe789d8 100644 --- a/util.js +++ b/util.js @@ -45,7 +45,7 @@ exports.write = (file, data) => { }; exports.read = (file) => { - fs.readFileSync(file); + return fs.readFileSync(file, 'utf8'); }; exports.exists = (file) => {