зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1724830 - Lint fix. a=lint-fix
This commit is contained in:
Родитель
e54462618c
Коммит
1213e1bc84
|
@ -1432,11 +1432,15 @@ class TreeMetadataEmitter(LoggingMixin):
|
|||
if mozpath.split(base)[0] == "res":
|
||||
has_resources = True
|
||||
for f in files:
|
||||
if var in (
|
||||
"FINAL_TARGET_PP_FILES",
|
||||
"OBJDIR_PP_FILES",
|
||||
"LOCALIZED_PP_FILES",
|
||||
) and not isinstance(f, SourcePath):
|
||||
if (
|
||||
var
|
||||
in (
|
||||
"FINAL_TARGET_PP_FILES",
|
||||
"OBJDIR_PP_FILES",
|
||||
"LOCALIZED_PP_FILES",
|
||||
)
|
||||
and not isinstance(f, SourcePath)
|
||||
):
|
||||
raise SandboxValidationError(
|
||||
("Only source directory paths allowed in " + "%s: %s")
|
||||
% (var, f),
|
||||
|
|
Загрузка…
Ссылка в новой задаче