From: Steinar H. Gunderson Date: Sun, 31 Mar 2019 15:49:19 +0000 (+0200) Subject: Fix an incompatibility with newer Node.js. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=eb7f2f8b0c238f9f8a57fe578506beb2001d4e15 Fix an incompatibility with newer Node.js. --- diff --git a/server/serve-analysis.js b/server/serve-analysis.js index ed11e10..86f2d90 100644 --- a/server/serve-analysis.js +++ b/server/serve-analysis.js @@ -183,7 +183,7 @@ var reread_file = function(event, filename) { touch_timer = setTimeout(function() { console.log("Touching analysis.json due to no other activity"); var now = Date.now() / 1000; - fs.utimes(json_filename, now, now); + fs.utimes(json_filename, now, now, function() {}); }, 30000); } var possibly_wakeup_clients = function() {