wip
This commit is contained in:
1 parent
299cf26cd6
commit
ce525ed13c
13 files changed
+199
-207
No files matched your search
@@ -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