Style: del useless code

This commit is contained in:
unitwk 2022-12-03 12:18:32 +08:00
parent e1928741a0
commit 964ab029fd

View File

@ -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) {