Skip to content

Commit

Permalink
Meta: drop unused error variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Feb 1, 2019
1 parent e90b58c commit 796ec14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/features/ci-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function init() {

// Append to title (aware of forks and private repos)
appendBefore('.pagehead h1', '.fork-flag', await request);
} catch (error) {
} catch {
// Network failure or no CI status found.
// Don’t try again
request = false;
Expand Down
2 changes: 1 addition & 1 deletion source/features/embed-gist-inline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function embedGist(link) {
files
);
}
} catch (error) {
} catch {
info.remove(' (embed failed)');
}
}
Expand Down

0 comments on commit 796ec14

Please sign in to comment.