Skip to content

Commit

Permalink
Indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gictor committed Feb 17, 2017
1 parent 5433fbe commit 6f6b6e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bunyan-slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var BunyanSlack = function (options, error) {
}
};

BunyanSlack.prototype.write = function Write(record) {
BunyanSlack.prototype.write = function write(record) {
var self = this,
levelName,
message;
Expand All @@ -65,8 +65,8 @@ BunyanSlack.prototype.write = function Write(record) {

try {
message = self.customFormatter ? self.customFormatter(record, levelName) : {
text: util.format('[%s] %s', levelName.toUpperCase(), record.msg)
};
text: util.format('[%s] %s', levelName.toUpperCase(), record.msg)
};
} catch(err) {
return self.error(err);
}
Expand Down

0 comments on commit 6f6b6e6

Please sign in to comment.