From d3c035c980792c15a1514db9effdbc75dd3be427 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Thu, 9 Jul 2020 10:53:31 +0300 Subject: [PATCH] fix place and naming --- .../SoftwareReport/SoftwareReport.Common.psm1 | 4 ++-- .../SoftwareReport/SoftwareReport.Generator.ps1 | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 1dd6a137c..8e1560eef 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -45,11 +45,11 @@ function Get-CbindgenVersion { return cbindgen --version } -function Get-CargoauditVersion { +function Get-CargoAuditVersion { return cargo audit --version } -function Get-CargooutdatedVersion { +function Get-CargoOutdatedVersion { return cargo outdated --version } diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index 7795c1390..ef4af8f3b 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -38,14 +38,6 @@ $markdown += New-MDList -Style Unordered -Lines @( (Get-NodeVersion) ) -$markdown += New-MDHeader "Rust packages:" -Level 3 -$markdown += New-MDList -Style Unordered -Lines @( - (Get-BindgenVersion), - (Get-CbindgenVersion), - (Get-CargoauditVersion), - (Get-CargooutdatedVersion) -) - $markdown += New-MDHeader "Package Management" -Level 3 $markdown += New-MDList -Style Unordered -Lines @( (Get-ChocoVersion), @@ -114,6 +106,14 @@ $markdown += New-MDList -Style Unordered -Lines @( (Get-GoogleCloudSDKVersion) ) +$markdown += New-MDHeader "Rust packages:" -Level 3 +$markdown += New-MDList -Style Unordered -Lines @( + (Get-BindgenVersion), + (Get-CbindgenVersion), + (Get-CargoAuditVersion), + (Get-CargoOutdatedVersion) +) + $markdown += New-MDHeader "Browsers and webdrivers" -Level 3 $markdown += New-MDList -Style Unordered -Lines @( (Get-BrowserVersion -Browser "chrome"),