Timothy Pomeroy 6 سال پیش
والد
کامیت
9391b22344
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      index.js

+ 2 - 3
index.js

@@ -116,8 +116,7 @@ const processWithHandbrake = (input, output, preset) => {
 };
 
 const processFile = async (file) => {
-  let adapter,
-    db,
+  let db,
     options,
     preset = 'Fast 1080p30',
     clean = {
@@ -209,7 +208,7 @@ const processFile = async (file) => {
 
 // cleanup removes from the db
 const cleanup = (file) => {
-  let adapter, db, options;
+  let db;
   for (let i = 0, l = dirs.length; i < l; i++) {
     let dir = dirs[i]; // pointer to the dir
     if (file && dir && file.indexOf(dir) > -1) {  // is this in this path?