Skip to content

Commit daf2841

Browse files
committed
refactor(lib): modify syntax via eslint
1 parent 1fac94a commit daf2841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const optionsSchema = require('./optionsSchema.json');
3131
// eslint-disable-next-line global-require
3232
const SockjsSession = require('sockjs/lib/transport').Session;
3333
const decorateConnection = SockjsSession.prototype.decorateConnection;
34-
SockjsSession.prototype.decorateConnection = function(req) {
34+
SockjsSession.prototype.decorateConnection = function (req) {
3535
decorateConnection.call(this, req);
3636
const connection = this.connection;
3737
if (connection.headers && !('origin' in connection.headers) && 'origin' in req.headers) {

0 commit comments

Comments
 (0)