提交 af74ca1d 编写于 作者: R Rob Lourens

Fix #43081 - expose "Literal \n not allowed" error from ripgrep

上级 7432a5bd
......@@ -160,6 +160,11 @@ export function rgErrorMsgForDisplay(msg: string): string | undefined {
return firstLine.charAt(0).toUpperCase() + firstLine.substr(1);
}
if (strings.startsWith(firstLine, 'Literal ')) {
// e.g. "Literal \n not allowed"
return firstLine;
}
return undefined;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册