From 3385ac8843bd3c94f56dc1d068ea2ce558512977 Mon Sep 17 00:00:00 2001 From: zuzanna-maria Date: Fri, 6 Dec 2024 18:49:18 +0100 Subject: [PATCH] Syntax correction --- www/common/make-backup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/common/make-backup.js b/www/common/make-backup.js index 78270831a..98a4f5357 100644 --- a/www/common/make-backup.js +++ b/www/common/make-backup.js @@ -325,9 +325,8 @@ define([ existingNames.push(sfName.toLowerCase()); return void makeFolder(ctx, ctx.sf[el].root, zip.folder(sfName), ctx.sf[el].filesData, staticData); } - var sData; var fData = fd[el]; - sd ? sData = sd[el] : sData = undefined; + var sData = sd ? sd[el] : undefined; if (fData) { addFile(ctx, zip, fData, existingNames); return;