Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Sep 30, 2023
1 parent 1eb0b7a commit f55bf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-coap/src/coap-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class CoapClient implements ProtocolClient {
public setSecurity = (metadata: Array<TD.SecurityScheme>): boolean => true;

private uriToOptions(uri: string): CoapRequestParams {
// eslint-disable-next-line node/no-deprecated-api
// eslint-disable-next-line n/no-deprecated-api
const requestUri = url.parse(uri);
const agentOptions = this.agentOptions;
agentOptions.type = net.isIPv6(requestUri.hostname ?? "") ? "udp6" : "udp4";
Expand Down

0 comments on commit f55bf32

Please sign in to comment.