Skip to content

Commit 9551a5e

Browse files
authored
Remove parens from example code in README.md (#281)
Brackets are optional. Maybe it looks better.
1 parent de66f68 commit 9551a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The DailyRotateFile transport can rotate files by minute, hour, day, month, year
3939
var winston = require('winston');
4040
require('winston-daily-rotate-file');
4141

42-
var transport = new (winston.transports.DailyRotateFile)({
42+
var transport = new winston.transports.DailyRotateFile({
4343
filename: 'application-%DATE%.log',
4444
datePattern: 'YYYY-MM-DD-HH',
4545
zippedArchive: true,

0 commit comments

Comments
 (0)