chore: replace em dashes with hyphens, add no-em-dash rule to CLAUDE.md
This commit is contained in:
@@ -48,7 +48,7 @@ const STATUS_TEXT: Record<number, string> = {
|
||||
522: "The session timed out.",
|
||||
523: "The session was closed.",
|
||||
768: "The server rejected the connection request.",
|
||||
769: "Authentication failed — check the credentials or SSH key.",
|
||||
769: "Authentication failed - check the credentials or SSH key.",
|
||||
771: "Access to this connection was refused.",
|
||||
776: "The session was closed after a period of inactivity.",
|
||||
781: "The connection was closed because the client fell behind.",
|
||||
@@ -110,7 +110,7 @@ export function openConsole(
|
||||
|
||||
// Guacamole.Client.State: 0 IDLE, 1 CONNECTING, 2 WAITING, 3 CONNECTED,
|
||||
// 4 DISCONNECTING, 5 DISCONNECTED. CONNECTING and WAITING are one state to an
|
||||
// operator — both mean "not usable yet".
|
||||
// operator - both mean "not usable yet".
|
||||
client.onstatechange = (state: number) => {
|
||||
if (closing) return;
|
||||
if (state === 1 || state === 2) handlers.onState?.("connecting");
|
||||
|
||||
Reference in New Issue
Block a user