提交 be788e2d 编写于 作者: B Benjamin Pasero

fix #39654

上级 47446609
......@@ -93,7 +93,7 @@ export async function main(argv: string[]): TPromise<any> {
let stdinFilePath: string;
if (isReadingFromStdin) {
let stdinFileError: Error;
stdinFilePath = paths.join(os.tmpdir(), `stdin-${Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 6)}.txt`);
stdinFilePath = paths.join(os.tmpdir(), `code-stdin-${Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 3)}.txt`);
try {
const stdinFileStream = fs.createWriteStream(stdinFilePath);
resolveTerminalEncoding(verbose).done(encoding => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册