diff --git a/server/utils.js b/server/utils.js index 755d48ab..ec1d7f9a 100644 --- a/server/utils.js +++ b/server/utils.js @@ -16,6 +16,10 @@ module.exports = { }); }, + readFile(filepath) { + return fs.readFileSync(filepath, 'utf-8'); + }, + getTmpDir() { return os.tmpdir(); }