Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Boult committed Nov 26, 2019
1 parent 0d756c0 commit 37899ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/logger.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as winston from 'winston';

const defaultLevel = process.env.LOG_LEVEL || 'info';
const { simple, splat, prettyPrint, colorize, json, combine, timestamp, printf } = winston.format;
const { colorize, combine, timestamp, printf } = winston.format;

const myFormat = printf(({ level, message, label, timestamp }) => {
return `[${timestamp}] ${level}: ${message}`;
Expand All @@ -15,7 +15,7 @@ const combinedFormats = combine(
myFormat,
);

let logger: winston.Logger = winston.createLogger({
const logger: winston.Logger = winston.createLogger({
format: combinedFormats,
level: defaultLevel,
transports: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluelinky",
"version": "0.0.4",
"version": "0.0.5",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"rules": {
"curly": false,
"ordered-imports": false,
"no-shadowed-variable": false,
"member-access": false,
"quotemark": [true, "single"],
"forin": [false],
Expand Down

0 comments on commit 37899ef

Please sign in to comment.