mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
chore(dependency): Upgrade lodash from v2 to v3
This commit is contained in:
@@ -9,7 +9,7 @@ function beastMasterProgress (pets) {
|
||||
_(DROP_ANIMALS).each((animal) => {
|
||||
if (pets[animal] > 0 || pets[animal] === -1)
|
||||
count++;
|
||||
});
|
||||
}).value();
|
||||
|
||||
return count;
|
||||
}
|
||||
@@ -20,7 +20,7 @@ function dropPetsCurrentlyOwned (pets) {
|
||||
_(DROP_ANIMALS).each((animal) => {
|
||||
if (pets[animal] > 0)
|
||||
count++;
|
||||
});
|
||||
}).value();
|
||||
|
||||
return count;
|
||||
}
|
||||
@@ -31,7 +31,7 @@ function mountMasterProgress (mounts) {
|
||||
_(DROP_ANIMALS).each((animal) => {
|
||||
if (mounts[animal])
|
||||
count++;
|
||||
});
|
||||
}).value();
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user