mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 03:25:35 +08:00

Prior to this fix we would always re-set `this.attrs` with `this.attrs` when defined, which is both wasteful but also dangerous as `this.attrs` can possibly error when mutated.