]> git.r.bdr.sh - rbdr/blog/blobdiff - lib/remotes/git.js
Lint
[rbdr/blog] / lib / remotes / git.js
index f6d0c07838e3f44769de6aea73a473b9003011c2..75ef43ede2864ca68cd7070107abe9fa972bd42f 100644 (file)
@@ -3,7 +3,7 @@ import { promisify } from 'util';
 
 const internals = {
   // Promisified functions
-  exec: promisify(exec),
+  exec: promisify(exec)
 };
 
 export default {
@@ -28,7 +28,8 @@ export default {
       await internals.exec(`cd ${blogDirectory} && git checkout .`);
     }
     catch {}
+
     await internals.exec(`cd ${blogDirectory} && git clean . -f`);
     await internals.exec(`cd ${blogDirectory} && git pull ${remote} main`);
   }
-}
+};