diff options
author | 2019-02-01 10:17:00 +0800 | |
---|---|---|
committer | 2019-02-01 10:17:00 +0800 | |
commit | 796ec14c3a0e81bb5a24a3df596e4e37e73796f7 (patch) | |
tree | b8d38525f3f6127e8b7a7fd9eca095e0355a8019 /source/features/embed-gist-inline.tsx | |
parent | e90b58c16f58f97a0758de05ae7fe01bf7f65687 (diff) | |
download | refined-github-796ec14c3a0e81bb5a24a3df596e4e37e73796f7.tar.gz refined-github-796ec14c3a0e81bb5a24a3df596e4e37e73796f7.tar.zst refined-github-796ec14c3a0e81bb5a24a3df596e4e37e73796f7.zip |
Meta: drop unused error variable
https://github.com/sindresorhus/refined-github/pull/1740#issuecomment-459543125
Diffstat (limited to 'source/features/embed-gist-inline.tsx')
-rw-r--r-- | source/features/embed-gist-inline.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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)'); } } |