Przeglądaj źródła

Turn revision file to history of revision

jherve 1 rok temu
rodzic
commit
5ce0335674
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      to_pdf.js

+ 1 - 1
to_pdf.js

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