don't write when there is nothing to do

This commit is contained in:
silverwind 2023-09-05 20:25:46 +02:00
parent bf44136ec0
commit 536458b763
Signed by: silverwind
GPG Key ID: 2E62B41C93869443

@ -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") {