forked from platformio/platformio-core
Ensure that module.json keywords are lowercased
This commit is contained in:
@ -422,6 +422,8 @@ class ModuleJsonManifestParser(BaseManifestParser):
|
||||
del data["licenses"]
|
||||
if "dependencies" in data:
|
||||
data["dependencies"] = self._parse_dependencies(data["dependencies"])
|
||||
if "keywords" in data:
|
||||
data["keywords"] = self.str_to_list(data["keywords"], sep=",")
|
||||
return data
|
||||
|
||||
def _parse_authors(self, raw):
|
||||
|
@ -172,7 +172,7 @@ def test_module_json_parser():
|
||||
"name": "YottaLibrary",
|
||||
"description": "This is Yotta library",
|
||||
"homepage": "https://yottabuild.org",
|
||||
"keywords": ["mbed", "Yotta"],
|
||||
"keywords": ["mbed", "yotta"],
|
||||
"license": "Apache-2.0",
|
||||
"platforms": ["*"],
|
||||
"frameworks": ["mbed"],
|
||||
|
Reference in New Issue
Block a user