Update addons-linter for duplicate key fix
Include hardcoding of "webextension" for AMO, as the linter has dropped this output.
This commit is contained in:
Родитель
0402c2cc7d
Коммит
ad0693b418
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "addons-server",
|
||||
"version": "0.0.12",
|
||||
"version": "0.0.13",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">= 0.10.x",
|
||||
|
@ -8,10 +8,10 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"acorn": "0.4.0",
|
||||
"addons-linter": "0.14.0",
|
||||
"clean-css": "2.0.x",
|
||||
"less": "1.3.x",
|
||||
"stylus": "0.32.x",
|
||||
"uglify-js": "2.4.x",
|
||||
"addons-linter": "0.12.3"
|
||||
"uglify-js": "2.4.x"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -170,7 +170,9 @@ def fix_addons_linter_output(validation, listed=True):
|
|||
'high': 0,
|
||||
'trivial': 0
|
||||
},
|
||||
'detected_type': validation['metadata']['architecture'],
|
||||
# The addons-linter only deals with WebExtensions and no longer
|
||||
# outputs this itself, so we hardcode it.
|
||||
'detected_type': 'extension',
|
||||
'ending_tier': 5,
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче