mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
meta: shorten PowerShell snippet for bug-report template
PR-URL: https://github.com/nodejs/node/pull/44011 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
This commit is contained in:
2
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
@@ -19,7 +19,7 @@ body:
|
||||
label: Platform
|
||||
description: |
|
||||
UNIX: output of `uname -a`
|
||||
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
|
||||
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
|
||||
- type: input
|
||||
attributes:
|
||||
label: Subsystem
|
||||
|
||||
Reference in New Issue
Block a user