From 8bc665e53cda0000de481ac8ad07239d310f6a7f Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 19 Jun 2017 11:05:00 -0700 Subject: [PATCH] chore(short-name-length-audit): remove dead code (#2517) --- .../audits/manifest-short-name-length.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lighthouse-core/audits/manifest-short-name-length.js b/lighthouse-core/audits/manifest-short-name-length.js index 11f0be5d89..68b367d873 100644 --- a/lighthouse-core/audits/manifest-short-name-length.js +++ b/lighthouse-core/audits/manifest-short-name-length.js @@ -23,19 +23,6 @@ class ManifestShortNameLength extends Audit { }; } - - static assessManifest(manifestValues, failures) { - if (manifestValues.isParseFailure) { - failures.push(manifestValues.parseFailureReason); - return; - } - - const themeColorCheck = manifestValues.allChecks.find(i => i.id === 'hasThemeColor'); - if (!themeColorCheck.passing) { - failures.push(themeColorCheck.failureText); - } - } - /** * @param {!Artifacts} artifacts * @return {!AuditResult}