summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-inline.tsx
diff options
context:
space:
mode:
authorGravatar Sindre Sorhus <sindresorhus@gmail.com> 2019-02-01 00:18:21 +0700
committerGravatar GitHub <noreply@github.com> 2019-02-01 00:18:21 +0700
commite90b58c16f58f97a0758de05ae7fe01bf7f65687 (patch)
treed68648d436cc51712e5e2aa73f12e0e66eff6412 /source/features/embed-gist-inline.tsx
parent00cdcceccd4541096b57b47a9d9ccaace62f43a9 (diff)
downloadrefined-github-e90b58c16f58f97a0758de05ae7fe01bf7f65687.tar.gz
refined-github-e90b58c16f58f97a0758de05ae7fe01bf7f65687.tar.zst
refined-github-e90b58c16f58f97a0758de05ae7fe01bf7f65687.zip
Use `eslint-config-xo-typescript` (#1740)
Diffstat (limited to 'source/features/embed-gist-inline.tsx')
-rw-r--r--source/features/embed-gist-inline.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index 4c27e443..85e6ca28 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 (_) {
+ } catch (error) {
info.remove(' (embed failed)');
}
}