chore(short-name-length-audit): remove dead code (#2517)
This commit is contained in:
Родитель
04676901b7
Коммит
8bc665e53c
|
@ -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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче