Explorar el Código

Turn revision file to history of revision

jherve hace 1 año
padre
commit
5ce0335674
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      to_pdf.js

+ 1 - 1
to_pdf.js

@@ -67,7 +67,7 @@ function writeGitRevisionFile(dataFilePath, templatePath, assetsPath, revPath) {
       return;
       return;
     }
     }
 
 
-    fs.writeFile(revPath, stdout, (err) => {
+    fs.appendFile(revPath, stdout, (err) => {
       if (err) throw err;
       if (err) throw err;
     });
     });
     console.log(`Wrote file revision data to ${revPath}`);
     console.log(`Wrote file revision data to ${revPath}`);