Skip to content

Commit

Permalink
fix: remove name assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 5, 2018
1 parent fe3d20c commit 8d59075
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/consola.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ export default class Consola {
return this._log(logObj)
}

// Improve log function name
const name = defaults.type
log.name = name
log.prototype.name = name

// Bind function to instance if Consola
return log.bind(this)
}
Expand Down

0 comments on commit 8d59075

Please sign in to comment.