提交 16676b2d 编写于 作者: D Daniel Imms

Add os.release to help > report issues

Fixes #7788
上级 6938e9c4
......@@ -20,7 +20,7 @@ import product from 'vs/platform/product';
import pkg from 'vs/platform/package';
export function generateNewIssueUrl(baseUrl: string, name: string, version: string, commit: string, date: string): string {
const osVersion = `${ os.type() } ${ os.arch() }`;
const osVersion = `${ os.type() } ${ os.arch() } ${ os.release() }`;
const queryStringPrefix = baseUrl.indexOf('?') === -1 ? '?' : '&';
const body = encodeURIComponent(
`- VSCode Version: ${name} ${version} (${product.commit || 'Commit unknown'}, ${product.date || 'Date unknown'})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册