@@ -99,7 +99,7 @@ function removeDir(dir) {
if(stat.isDirectory()){
//如果是文件夹就递归下去
removeDir(newPath);
- }else {
+ } else {
//删除文件
fs.unlinkSync(newPath);
}
@@ -120,4 +120,4 @@ function copyFolderSync(source, target) {
} catch (err) {
console.error('复制文件夹时出错:', err);
-}
+}