提交 868260f0 编写于 作者: G Geir Hauge

whitelist @ too

上级 89ac7e55
......@@ -393,7 +393,7 @@ export function prepareCommand(args: DebugProtocol.RunInTerminalRequestArguments
};
hardQuote = (s: string) => {
return /[^\w%\/+=,.:^-]/.test(s) ? `'${s.replace(/'/g, '\'\\\'\'')}'` : s;
return /[^\w@%\/+=,.:^-]/.test(s) ? `'${s.replace(/'/g, '\'\\\'\'')}'` : s;
};
if (args.cwd) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册