mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:11:58 +08:00
DEV: unpin Prettier version, apply to YAML files
We had Prettier pinned because of https://github.com/prettier/prettier/issues/5529. Since that bug is fixed, unpinning. Prettier now supports YAML, so this applies Prettier to all .yml except for translations, which should not be edited directly anyway.
This commit is contained in:
@ -301,9 +301,11 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||
const bufferedIds = this.get("customGroupIdsBuffer");
|
||||
const availableGroups = this.get("availableGroups");
|
||||
|
||||
bufferedIds.filter(id => !currentIds.includes(id)).forEach(id => {
|
||||
this.groupAdded(availableGroups.findBy("id", id));
|
||||
});
|
||||
bufferedIds
|
||||
.filter(id => !currentIds.includes(id))
|
||||
.forEach(id => {
|
||||
this.groupAdded(availableGroups.findBy("id", id));
|
||||
});
|
||||
|
||||
currentIds
|
||||
.filter(id => !bufferedIds.includes(id))
|
||||
|
Reference in New Issue
Block a user