fix/optimize wtv-author, wtv-favorite
This commit is contained in:
@@ -156,8 +156,8 @@ function checkScopeErrors(file) {
|
||||
if (serviceName === "wtv-guide") {
|
||||
eslintConfig.globals["wtvguide"] = "readonly";
|
||||
}
|
||||
|
||||
if (service.modules) {
|
||||
|
||||
if (service && service.modules) {
|
||||
for (const moduleName of service.modules) {
|
||||
eslintConfig.globals[moduleName] = "readonly";
|
||||
if (moduleName === "WTVNews") {
|
||||
|
||||
Reference in New Issue
Block a user