Asynchronous self-updating!

This commit is contained in:
youngchief btw ツ 2020-12-09 16:08:38 -08:00 committed by GitHub
parent fb1bb8af89
commit e21e66d9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ app.get("/", function(req, res) {
app.listen(process.env.PORT);
setInterval(function() {
setInterval(async function() {
// Self-updating
exec("git pull && git fetch", (error, stdout, stderr) => {
if (error) {