diff --git a/src/service/system_file.ts b/src/service/system_file.ts index b012f4c..066f1ff 100755 --- a/src/service/system_file.ts +++ b/src/service/system_file.ts @@ -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) {