提交 0ffcd1c6 编写于 作者: A Andre Weinand

format terminals.ts

上级 86d9b79a
......@@ -348,7 +348,7 @@ export function prepareCommand(args: DebugProtocol.RunInTerminalRequestArguments
quote = (s: string) => {
s = s.replace(/\'/g, '\'\'');
if (s.length > 0 && s.charAt(s.length-1) === '\\') {
if (s.length > 0 && s.charAt(s.length - 1) === '\\') {
return `'${s}\\'`;
}
return `'${s}'`;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册