From e21e66d9e650e359413846a34baa94aa301a3e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?youngchief=20btw=20=E3=83=84?= <33383463+youngchief-btw@users.noreply.github.com> Date: Wed, 9 Dec 2020 16:08:38 -0800 Subject: [PATCH] Asynchronous self-updating! --- src/ProxyChief.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProxyChief.js b/src/ProxyChief.js index 0a9278b..bffeb85 100644 --- a/src/ProxyChief.js +++ b/src/ProxyChief.js @@ -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) {