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.
2 parents fd16b8b + 2560ab9 commit 6214cf6Copy full SHA for 6214cf6
bin/plugin/commands/common.js
@@ -116,10 +116,7 @@ exports.getModuleData = async ( modulesDir ) => {
116
.sort( ( firstModule, secondModule ) => {
117
// Not the same focus group.
118
if ( firstModule.focus !== secondModule.focus ) {
119
- return FOCUS_AREAS[ firstModule.focus ] >
120
- FOCUS_AREAS[ secondModule.focus ]
121
- ? 1
122
- : -1;
+ return FOCUS_AREAS[ firstModule.focus ] - FOCUS_AREAS[ secondModule.focus ];
123
}
124
125
if ( firstModule.experimental !== secondModule.experimental ) {
0 commit comments