Timothy Pomeroy hace 6 años
padre
commit
5723e162e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -237,7 +237,7 @@ watcher.on('add', async (file) => {
 
   if (fs.existsSync(output)) {
     processOutput(`-> ${path.basename(file)} [skipping ... already processed]\n`);
-    setFile(db, file, { status: 'success', date:new Date() }); // update database with status
+    setFile(db, file, { output: output, status: 'success', date:new Date() }); // update database with status
     return;
   }
   processOutput('\n');