forked from mirror/MCSM-Daemon
Style: del useless code
This commit is contained in:
parent
e1928741a0
commit
964ab029fd
@ -109,10 +109,9 @@ export default class FileManager {
|
||||
return await fs.writeFile(absPath, buf);
|
||||
}
|
||||
|
||||
async newFile(fileName: string){
|
||||
const target = this.toAbsolutePath(fileName)
|
||||
console.log(target)
|
||||
fs.createFile(target)
|
||||
async newFile(fileName: string) {
|
||||
const target = this.toAbsolutePath(fileName);
|
||||
fs.createFile(target);
|
||||
}
|
||||
|
||||
async copy(target1: string, target2: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user