Skip to content

Commit 697dbfb

Browse files
NicoNekoruruyadorno
authored andcommitted
meta: shorten PowerShell snippet for bug-report template
PR-URL: #44011 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
1 parent ecf8218 commit 697dbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
label: Platform
2020
description: |
2121
UNIX: output of `uname -a`
22-
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
22+
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
2323
- type: input
2424
attributes:
2525
label: Subsystem

0 commit comments

Comments
 (0)