From 3f32f4db1aaeb56a5529275455d9f60f4c6bed42 Mon Sep 17 00:00:00 2001 From: NicoNekoru <66227158+NicoNekoru@users.noreply.github.com> Date: Wed, 27 Jul 2022 10:31:00 -0600 Subject: [PATCH] meta: shorten PowerShell snippet for bug-report template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/44011 Reviewed-By: Tobias Nießen Reviewed-By: Michaël Zasso Reviewed-By: Feng Yu --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 3edac8d807d905..c40644bfc6d9ba 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -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