mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +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