From 87df6d0e261e7480c933c9a9d2af20b35e1bef9c Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 14 Jul 2022 16:48:05 +0200 Subject: [PATCH] prime-gaming: remove try-finally TODO --- prime-gaming.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime-gaming.js b/prime-gaming.js index 6bd672c..e89936d 100644 --- a/prime-gaming.js +++ b/prime-gaming.js @@ -141,7 +141,7 @@ try { // write out json db run.endTime = datetime(); db.data.runs.push(run); - await db.write(); // TODO try-finally to always write out any updates + await db.write(); await context.close(); }