diff --git a/src/block/node/CommandLineNode.ts b/src/block/node/CommandLineNode.ts index 26f4684a..c34a76d9 100644 --- a/src/block/node/CommandLineNode.ts +++ b/src/block/node/CommandLineNode.ts @@ -14,7 +14,7 @@ const createCommandLineNode: NodeCreator = ( return createPlainNode(raw); } - const symbol = raw[0] ?? ""; + const symbol = raw.charAt(0); const text = raw.substring(2); return [