From 796ec14c3a0e81bb5a24a3df596e4e37e73796f7 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Fri, 1 Feb 2019 10:17:00 +0800 Subject: Meta: drop unused error variable https://github.com/sindresorhus/refined-github/pull/1740#issuecomment-459543125 --- source/features/embed-gist-inline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/features/embed-gist-inline.tsx') diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx index 85e6ca28..998f521d 100644 --- a/source/features/embed-gist-inline.tsx +++ b/source/features/embed-gist-inline.tsx @@ -37,7 +37,7 @@ async function embedGist(link) { files ); } - } catch (error) { + } catch { info.remove(' (embed failed)'); } } -- cgit v1.2.3