Skip to content

Commit

Permalink
Merge pull request #330 from oat-sa/feature/ADF-1579/update-lodash-to-4
Browse files Browse the repository at this point in the history
chore: update methods to lodash 4 verios
  • Loading branch information
wazelin authored Feb 1, 2024
2 parents b9f553d + 27f179d commit fc4b3c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"oat-sa/oatbox-extension-installer": "~1.1||dev-master",
"sinergi/browser-detector": "^6.0.2",
"oat-sa/generis" : ">=15.22",
"oat-sa/tao-core" : ">=50.24.6",
"oat-sa/tao-core" : ">=54.0.0",
"oat-sa/extension-tao-itemqti" : ">=27.0.0"
},
"autoload" : {
Expand Down
2 changes: 1 addition & 1 deletion views/js/tools/diagnostic/diagnostic.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ define([
// launch each testers in series, then display the results
async.series(testers, () => {
// pick the lowest percentage as the main score
const total = _.min(scores, 'globalPercentage');
const total = _.minBy(scores, 'globalPercentage');

// get a status according to the main score
const status = getStatus(total.globalPercentage, _thresholds);
Expand Down

0 comments on commit fc4b3c7

Please sign in to comment.