From d8a2a4e1fb9debffb3e6ec422fa0edc7cbeecbab Mon Sep 17 00:00:00 2001 From: JTH Date: Fri, 30 Sep 2022 11:16:36 +0200 Subject: [PATCH] `return await` is redundant here --- quickmod.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2