Skip to content

Commit 4dcce42

Browse files
committed
Don't need to || null, it'll be undefined
1 parent 29c1504 commit 4dcce42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var Client = function Client(dsn, options) {
3030
this.transport = options.transport || transports[this.dsn.protocol];
3131

3232
this.loggerName = options.logger || '';
33-
this.dataCallback = options.dataCallback || null;
33+
this.dataCallback = options.dataCallback;
3434

3535
// enabled if a dsn is set
3636
this._enabled = !!this.dsn;

0 commit comments

Comments
 (0)