diff options
author | NicoNekoru <66227158+NicoNekoru@users.noreply.github.com> | 2022-07-27 19:31:00 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@google.com> | 2022-08-23 02:37:11 +0300 |
commit | 697dbfb174d802e836b28622577795294c9e9a48 (patch) | |
tree | 87eee83ffaafe30cc70e0b0de13f246496a201e1 /.github | |
parent | ecf82186e03ea5280b4b52675346a7b201d449b3 (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.yml | 2 |
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 |