Skip to content

Commit 1ca40de

Browse files
wardpeetpaulirish
authored andcommitted
Fix eslint max length in github-api.js (#2730)
1 parent 6478f15 commit 1ca40de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lighthouse-viewer/app/src/github-api.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ class GithubApi {
116116
const filename = Object.keys(json.files)
117117
.find(filename => filename.endsWith(GithubApi.LH_JSON_EXT));
118118
if (!filename) {
119-
throw new Error(`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`);
119+
throw new Error(
120+
`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`
121+
);
120122
}
121123
const f = json.files[filename];
122124
if (f.truncated) {

0 commit comments

Comments
 (0)