From 34ce8a8e3c6fe0332aa403b90aa68d940d5ef736 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Mon, 4 Jul 2022 16:15:59 +0200 Subject: [PATCH] fix lint --- src/platform/web/dom/request/common.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform/web/dom/request/common.js b/src/platform/web/dom/request/common.js index c073cf6b..d6ed5074 100644 --- a/src/platform/web/dom/request/common.js +++ b/src/platform/web/dom/request/common.js @@ -30,7 +30,6 @@ export function addCacheBuster(urlStr, random = Math.random) { export function mapAsFormData(map) { const formData = new FormData(); for (const [name, value] of map) { - let filename; // Special case {name: string, blob: BlobHandle} to set a filename. // This is the format returned by platform.openFile if (value.blob?.nativeBlob && value.name) {