Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eyepokes committed Nov 22, 2024
1 parent f9d9c20 commit ae9884f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodes/Globalping/v1/GlobalpingV1.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ export class GlobalpingV1 implements INodeType {
let measurementOptions = {} as TracerouteOptions;

if (params.measurementOptions.port && params.measurementOptions.port !== 80) {
measurementOptions.port = (this.getNodeParameter('measurementOptions', i) as object).port;
measurementOptions.port = (this.getNodeParameter('measurementOptions', i) as any).port;
}

if (
params.measurementOptions.protocol &&
params.measurementOptions.protocol !== 'ICMP'
) {
measurementOptions.protocol = (this.getNodeParameter('measurementOptions', i) as object).protocol;
measurementOptions.protocol = (this.getNodeParameter('measurementOptions', i) as any).protocol;
}

if (Object.keys(measurementOptions).length > 0) {
Expand Down

0 comments on commit ae9884f

Please sign in to comment.