const internals = {
// Promisified functions
- exec: promisify(exec),
+ exec: promisify(exec)
};
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`);
}
-}
+};