Browse Source

Update package.js

Naibo Wang 3 months ago
parent
commit
db6ace0692
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Extension/manifest_v3/package.js

+ 2 - 2
Extension/manifest_v3/package.js

@@ -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);
     }
-}
+}