mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
Add readFile method in server utils
This commit is contained in:
parent
d8d1eb69a2
commit
13d3d62cba
@ -16,6 +16,10 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
|
||||
readFile(filepath) {
|
||||
return fs.readFileSync(filepath, 'utf-8');
|
||||
},
|
||||
|
||||
getTmpDir() {
|
||||
return os.tmpdir();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user