Skip to content

Commit e886d98

Browse files
committed
style: fix colon spacing
1 parent f4aa348 commit e886d98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/binding-modbus/src/modbus-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ export default class ModbusClient implements ProtocolClient {
214214

215215
// This generates a form used internally with url content based on the uri scheme
216216
// Ideally, more code should be refactored to use uri only
217-
private addFormElementsFromURLPath(input: ModbusForm) : ModbusForm {
218-
const returnForm :ModbusForm = {...input}
217+
private addFormElementsFromURLPath(input: ModbusForm): ModbusForm {
218+
const returnForm: ModbusForm = { ...input };
219219
const { pathname, searchParams: query } = new URL(input.href);
220220
const pathComp = pathname.split("/");
221221
if (pathComp.length < 3 || pathComp[1] === "" || pathComp[2] === "") {

0 commit comments

Comments
 (0)