Skip to content

Commit 2b967e1

Browse files
committed
Address PSScriptAnalyzer issues
1 parent aa94f5a commit 2b967e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Install-Defaults.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ namespace Api {
834834

835835
function Copy-RegExe {
836836
[CmdletBinding()]
837+
[OutputType([System.String])]
837838
param()
838839
process {
839840
try {

src/Remove-AppxApps.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ param (
7070
"Microsoft.Wallet_8wekyb3d8bbwe",
7171
"MicrosoftWindows.CrossDevice_cw5n1h2txyewy",
7272
"MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy",
73-
"Microsoft.WidgetsPlatformRuntime_8wekyb3d8bbwe", # Ensure policy disables Widgets
73+
"Microsoft.WidgetsPlatformRuntime_8wekyb3d8bbwe", # Ensure policy disables Widgets
7474
"MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe",
7575
"Microsoft.Winget.Source_8wekyb3d8bbwe", # Winget package
7676
"Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe", # App to create manifests for winget

0 commit comments

Comments
 (0)