Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
3.0.1 - TerminalTransport: use spread operator instead of apply()
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Oct 19, 2020
1 parent 25cbbd4 commit 0af2ea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/transports/TerminalTransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const util = require('util');

class TerminalTransport extends Transport {
transmit(args) {
const msg = util.format.apply(null, args);
const msg = util.format(...args);
console.log(msg);
}
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "loggaby",
"version": "3.0.0",
"version": "3.0.1",
"description": "📝 A minimal and simplistic logger with no bloat.",
"main": "lib/index.js",
"files": [
Expand All @@ -13,7 +13,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/Luvella/Loggaby.git"
"url": "git+https://github.com/Loggaby/Loggaby.git"
},
"keywords": [
"color",
Expand All @@ -26,9 +26,9 @@
"author": "Luvella",
"license": "MIT",
"bugs": {
"url": "https://github.com/Luvella/Loggaby/issues"
"url": "https://github.com/Loggaby/Loggaby/issues"
},
"homepage": "https://github.com/Luvella/Loggaby#readme",
"homepage": "https://github.com/Loggaby/Loggaby#readme",
"dependencies": {
"ansikit": "^1.5.0"
},
Expand Down

0 comments on commit 0af2ea5

Please # to comment.