From 536458b763d72fc405016c5fbdda91fe2bda1b70 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 5 Sep 2023 20:25:46 +0200 Subject: [PATCH] don't write when there is nothing to do --- updates.js | 1 + 1 file changed, 1 insertion(+) diff --git a/updates.js b/updates.js index f04072d..e2c9236 100755 --- a/updates.js +++ b/updates.js @@ -969,6 +969,7 @@ async function main() { if (update) { for (const mode of Object.keys(deps)) { + if (!Object.keys(deps[mode]).length) continue; try { let fn; if (mode === "npm") {