Skip to content

Commit

Permalink
Fix eslint max length in github-api.js (#2730)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored and paulirish committed Jul 24, 2017
1 parent 6478f15 commit 1ca40de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lighthouse-viewer/app/src/github-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ class GithubApi {
const filename = Object.keys(json.files)
.find(filename => filename.endsWith(GithubApi.LH_JSON_EXT));
if (!filename) {
throw new Error(`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`);
throw new Error(
`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`
);
}
const f = json.files[filename];
if (f.truncated) {
Expand Down

0 comments on commit 1ca40de

Please sign in to comment.