mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix(tests): correct for new content, fix lint
This commit is contained in:
@@ -252,7 +252,7 @@ let schema = new Schema({
|
||||
gear: {
|
||||
owned: _.transform(shared.content.gear.flat, (m, v) => {
|
||||
m[v.key] = {type: Boolean};
|
||||
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses' || v.gearSet === 'headband' ) {
|
||||
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses' || v.gearSet === 'headband') {
|
||||
m[v.key].default = true;
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user