mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
wip
This commit is contained in:
@@ -45,7 +45,7 @@ file.create = function (filepath, data = '') {
|
||||
}
|
||||
|
||||
file.write = function (filepath, data = '') {
|
||||
return fs.writeFile(path.resolve(filepath), data).catch(console.error)
|
||||
return fs.writeFile(path.resolve(filepath), data, { encoding: 'utf8' }).catch(console.error)
|
||||
}
|
||||
|
||||
file.clear = function (filepath) {
|
||||
|
||||
Reference in New Issue
Block a user