Skip to content

Commit

Permalink
Websocket lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Månsson <tobias@zept.io>
  • Loading branch information
tobias-zeptio committed Oct 13, 2020
1 parent feee37e commit 45b71e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/lib/node/src/node-websocket.ts
Expand Up @@ -63,7 +63,7 @@ export class NodeWebSocket implements WebSocketImplementation {
const [authenticatedUrl, authenticatedHeaders] = authenticateWithUrlAndHeaders(url, new Map(), authProviders);
const plainHeaders = mapToPlainObject(authenticatedHeaders);
const options: ClientOptions = {
agent: agent.proxyAgent.options.path != undefined ? agent.proxyAgent : false,
agent: agent.proxyAgent.options.path !== undefined ? agent.proxyAgent : false,
rejectUnauthorized: false,
headers: plainHeaders
};
Expand Down

0 comments on commit 45b71e8

Please sign in to comment.