Skip to content

Commit 32d2b5f

Browse files
committed
chore(docs): Reduce excessive warning about command parse failure
1 parent 64f9110 commit 32d2b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docusaurus/src/remark/commandLineHighlight.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const makeCommandOrRawLine = (line: string, cli: YarnCli) => {
130130
try {
131131
return makeCommandLine(line, cli);
132132
} catch (err: any) {
133-
console.log(`Failed to parse "${line}": ${err.message}`);
133+
console.log(`Failed to parse "${line}"`);
134134
return makeRawLine(line);
135135
}
136136
};

0 commit comments

Comments
 (0)