Skip to content

Commit

Permalink
Chore: Remove unnecessary slice from logging utility (#9343)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyandeeps authored and not-an-aardvark committed Sep 23, 2017
1 parent 2ff6fb6 commit a7668c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/logging.js
Expand Up @@ -15,14 +15,14 @@ module.exports = {
* @returns {void}
*/
info() {
console.log.apply(console, Array.prototype.slice.call(arguments));
console.log.apply(console, arguments);
},

/**
* Cover for console.error
* @returns {void}
*/
error() {
console.error.apply(console, Array.prototype.slice.call(arguments));
console.error.apply(console, arguments);
}
};

0 comments on commit a7668c2

Please sign in to comment.