We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c2aa41 commit 2557032Copy full SHA for 2557032
src/detectors.js
@@ -46,7 +46,11 @@ exports.getUI = async function (context) {
46
})
47
)
48
49
- return Array.from(uis).sort((a, b) => (typeof b.priority !== 'undefined' ? b.priority : 1) - (typeof a.priority !== 'undefined' ? a.priority : 1))[0]
+ const ui = Array.from(uis).sort((a, b) => (typeof b.priority !== 'undefined' ? b.priority : 1) - (typeof a.priority !== 'undefined' ? a.priority : 1))[0]
50
+ if (ui) {
51
+ return ui.metas
52
+ }
53
+ return null
54
}
55
56
exports.getPlugins = async function (context) {
0 commit comments