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
							
								
									c3fadadaa9
								
							
						
					
					
						commit
						6f9dd1bf28
					
				| @ -393,7 +393,7 @@ NG_PACKAGE_ATTRS = dict(NPM_PACKAGE_ATTRS, **dict(ROLLUP_ATTRS, **{ | ||||
|         allow_files = True, | ||||
|     ), | ||||
|     "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 = {}), | ||||
|     "entry_point_name": attr.string( | ||||
|         doc = "Name to use when generating bundle files for the primary entry-point.", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user