repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
UIServerUtils.ts
diff --git
a/src/charging-station/ui-server/UIServerUtils.ts
b/src/charging-station/ui-server/UIServerUtils.ts
index 2b0bf3de152253e5aec13d33c817cc861ac5a365..95bbba56c8134dd93f20ebbf2dcf06986e70961d 100644
(file)
--- a/
src/charging-station/ui-server/UIServerUtils.ts
+++ b/
src/charging-station/ui-server/UIServerUtils.ts
@@
-13,8
+13,8
@@
export class UIServerUtils {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
request: IncomingMessage,
): string | false => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
request: IncomingMessage,
): string | false => {
- let protocol: Protocol;
- let version: ProtocolVersion;
+ let protocol: Protocol
| undefined
;
+ let version: ProtocolVersion
| undefined
;
if (protocols.size === 0) {
return false;
}
if (protocols.size === 0) {
return false;
}
@@
-26,7
+26,7
@@
export class UIServerUtils {
logger.error(
`${logPrefix(
' UI WebSocket Server |',
logger.error(
`${logPrefix(
' UI WebSocket Server |',
- )} Unsupported protocol:
${protocol} or protocol version: ${version}
`,
+ )} Unsupported protocol:
'${protocol}' or protocol version: '${version}'
`,
);
return false;
};
);
return false;
};