From 47cefc5e3efc204ff8f5c7e39d6491218a1abfbf Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Mon, 24 Jul 2017 15:13:08 +0200 Subject: [PATCH] Fix eslint issue max chars in github-api.js --- lighthouse-viewer/app/src/github-api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lighthouse-viewer/app/src/github-api.js b/lighthouse-viewer/app/src/github-api.js index c2f366a946bc..d8d9b5c05b6d 100644 --- a/lighthouse-viewer/app/src/github-api.js +++ b/lighthouse-viewer/app/src/github-api.js @@ -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) {