Skip to content

Commit

Permalink
chore(docs): Reduce excessive warning about command parse failure
Browse files Browse the repository at this point in the history
  • Loading branch information
clemyan committed Oct 25, 2023
1 parent 64f9110 commit 32d2b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/remark/commandLineHighlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const makeCommandOrRawLine = (line: string, cli: YarnCli) => {
try {
return makeCommandLine(line, cli);
} catch (err: any) {
console.log(`Failed to parse "${line}": ${err.message}`);
console.log(`Failed to parse "${line}"`);
return makeRawLine(line);
}
};
Expand Down

0 comments on commit 32d2b5f

Please sign in to comment.