From: JTH Date: Fri, 30 Sep 2022 09:16:36 +0000 (+0200) Subject: `return await` is redundant here X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=d8a2a4e1fb9debffb3e6ec422fa0edc7cbeecbab;p=dfde%2Fquickmods.git `return await` is redundant here --- diff --git a/quickmod.user.js b/quickmod.user.js index 8cd2196..5eb4def 100644 --- a/quickmod.user.js +++ b/quickmod.user.js @@ -70,7 +70,7 @@ async function confirmAction(response) { if (!resp.ok) { throw `${resp.url}: ${resp.status}`; } - return await resp.text(); + return resp.text(); } function ellipsify(str, maxlen) {