This commit is contained in:
Travis CI 2016-11-26 22:00:36 +00:00
parent d0c0429e6e
commit 72a5fb68ec
2 changed files with 4 additions and 2 deletions

View file

@ -3155,7 +3155,9 @@ class Message {
* @readonly
*/
get edits() {
return this._edits.slice().unshift(this);
const copy = this._edits.slice();
copy.unshift(this);
return copy;
}
/**

File diff suppressed because one or more lines are too long