Prefer putting nested structures on new lines

Format arguments to have nested structures start on a new line instead
of inline to make it easier to see where the structures starts and what
structure it is.
This commit is contained in:
Hornwitser committed 2023-07-26 14:27:49 +02:00
1 parent cb21a63ac2
commit 156d517976
7 files changed
+130 -77

No files matched your search

+9 -5
View File
@@ -19,11 +19,15 @@ export class ControlConnector extends libLink.WebSocketClientConnector {
}
logger.verbose("Connector | registering control");
this.sendHandshake(new libData.MessageRegisterControl(new libData.RegisterControlData(
this.token,
"Clusterio Web UI",
packageJson.version,
)));
this.sendHandshake(
new libData.MessageRegisterControl(
new libData.RegisterControlData(
this.token,
"Clusterio Web UI",
packageJson.version,
)
)
);
}
}