Skip to content

Commit b6db553

Browse files
committed
fix format/lint
1 parent 67bc483 commit b6db553

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/robot/session-manager.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ const timeoutBlob = new Blob(
2424
export default class SessionManager {
2525
public readonly transport: Transport;
2626

27-
public static readonly heartbeatMonitoredMethods: Set<string> = new Set([
28-
"/viam.component.arm.v1.ArmService/MoveToPosition",
29-
"/viam.component.arm.v1.ArmService/MoveToJointPositions",
30-
"/viam.component.arm.v1.ArmService/MoveThroughJointPositions",
31-
"/viam.component.base.v1.BaseService/MoveStraight",
32-
"/viam.component.base.v1.BaseService/Spin",
33-
"/viam.component.base.v1.BaseService/SetPower",
34-
"/viam.component.base.v1.BaseService/SetVelocity",
35-
"/viam.component.gantry.v1.GantryService/MoveToPosition",
36-
"/viam.component.gripper.v1.GripperService/Open",
37-
"/viam.component.gripper.v1.GripperService/Grab",
38-
"/viam.component.motor.v1.MotorService/SetPower",
39-
"/viam.component.motor.v1.MotorService/GoFor",
40-
"/viam.component.motor.v1.MotorService/GoTo",
41-
"/viam.component.motor.v1.MotorService/SetRPM",
42-
"/viam.component.servo.v1.ServoService/Move",
27+
public static readonly heartbeatMonitoredMethods = new Set<string>([
28+
'/viam.component.arm.v1.ArmService/MoveToPosition',
29+
'/viam.component.arm.v1.ArmService/MoveToJointPositions',
30+
'/viam.component.arm.v1.ArmService/MoveThroughJointPositions',
31+
'/viam.component.base.v1.BaseService/MoveStraight',
32+
'/viam.component.base.v1.BaseService/Spin',
33+
'/viam.component.base.v1.BaseService/SetPower',
34+
'/viam.component.base.v1.BaseService/SetVelocity',
35+
'/viam.component.gantry.v1.GantryService/MoveToPosition',
36+
'/viam.component.gripper.v1.GripperService/Open',
37+
'/viam.component.gripper.v1.GripperService/Grab',
38+
'/viam.component.motor.v1.MotorService/SetPower',
39+
'/viam.component.motor.v1.MotorService/GoFor',
40+
'/viam.component.motor.v1.MotorService/GoTo',
41+
'/viam.component.motor.v1.MotorService/SetRPM',
42+
'/viam.component.servo.v1.ServoService/Move',
4343
]);
4444

4545
private currentSessionID = '';

src/robot/session-transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class SessionTransport implements Transport {
2020
constructor(
2121
protected readonly deferredTransport: () => Transport,
2222
protected readonly sessionManager: SessionManager
23-
) { }
23+
) {}
2424

2525
private async getSessionMetadata(): Promise<Headers> {
2626
try {

0 commit comments

Comments
 (0)