diff options
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/create_npm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 3ba6de029c..d3fcd99deb 100644 --- a/scripts/lib/recipetool/create_npm.py +++ b/scripts/lib/recipetool/create_npm.py @@ -45,6 +45,8 @@ class NpmRecipeHandler(RecipeHandler): license = data['license'] if isinstance(license, dict): license = license.get('type', None) + if 'MIT/X11' in license: + license = 'MIT' return license def _shrinkwrap(self, srctree, localfilesdir, extravalues, lines_before): |