refactor(common): Remove deprecated FileType (#28583)
FileType objects are deprecated. They are not required for specifying valid file types for rule attributes, a list of strings can be used instead. PR Close #28583
This commit is contained in:
parent
bd9da268c1
commit
1b6fb5bc19
@ -393,7 +393,7 @@ NG_PACKAGE_ATTRS = dict(NPM_PACKAGE_ATTRS, **dict(ROLLUP_ATTRS, **{
|
|||||||
allow_files = True,
|
allow_files = True,
|
||||||
),
|
),
|
||||||
"include_devmode_srcs": attr.bool(default = False),
|
"include_devmode_srcs": attr.bool(default = False),
|
||||||
"readme_md": attr.label(allow_single_file = FileType([".md"])),
|
"readme_md": attr.label(allow_single_file = [".md"]),
|
||||||
"globals": attr.string_dict(default = {}),
|
"globals": attr.string_dict(default = {}),
|
||||||
"entry_point_name": attr.string(
|
"entry_point_name": attr.string(
|
||||||
doc = "Name to use when generating bundle files for the primary entry-point.",
|
doc = "Name to use when generating bundle files for the primary entry-point.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user