Skip to content

Commit

Permalink
perf(api): api is not a place for concatenation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Feb 2, 2018
1 parent 90e3565 commit f428425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function Api () {
* }
* ```
*/
this.messages = [].concat((Api.context && Api.context.messages) || [])
this.messages = []
}

module.exports = Api
Expand Down

0 comments on commit f428425

Please sign in to comment.