Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoNekoru <66227158+NicoNekoru@users.noreply.github.com>2022-07-27 19:31:00 +0300
committerRuy Adorno <ruyadorno@google.com>2022-08-23 02:37:11 +0300
commit697dbfb174d802e836b28622577795294c9e9a48 (patch)
tree87eee83ffaafe30cc70e0b0de13f246496a201e1 /.github
parentecf82186e03ea5280b4b52675346a7b201d449b3 (diff)
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>
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/1-bug-report.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml
index 3edac8d807d..c40644bfc6d 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