diff --git a/package.json b/package.json index cd43f3125..d67eabde5 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "postcss-loader": "^3.0.0", "postcss-preset-env": "^6.7.0", "postcss-url": "^9.0.0", - "prettier": "2.1.2", + "prettier": "2.2.1", "sinon": "^9.0.1", "stylelint": "^13.1.0", "stylelint-config-standard": "^20.0.0", diff --git a/webcompat/static/js/lib/models/milestones.js b/webcompat/static/js/lib/models/milestones.js index 27fd942e7..11d40f017 100644 --- a/webcompat/static/js/lib/models/milestones.js +++ b/webcompat/static/js/lib/models/milestones.js @@ -49,11 +49,12 @@ export const MilestonesModel = Backbone.Model.extend({ type: "PATCH", url: "/api/issues/" + $("main").data("issueNumber") + "/edit", success: _.bind(function () { - var currentMilestone = _.find(this.get("milestones"), function ( - status - ) { - return status.id === statusObject.id; - }); + var currentMilestone = _.find( + this.get("milestones"), + function (status) { + return status.id === statusObject.id; + } + ); this.set("milestone", currentMilestone); this.issueModel.set("milestone", currentMilestone.name);