From acb22f8a89a6fa1de5e495e00671304790d7418b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 9 Aug 2024 03:02:17 +0200 Subject: [PATCH] Make `Get-Users` output explicit --- scripts/Common/Scripts/Config.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Common/Scripts/Config.ps1 b/scripts/Common/Scripts/Config.ps1 index 93b0247c..526214a5 100644 --- a/scripts/Common/Scripts/Config.ps1 +++ b/scripts/Common/Scripts/Config.ps1 @@ -149,6 +149,8 @@ $null = New-Module { Gets the names of the users to create. #> function Get-Users { + [OutputType([string[]])] + param() Get-Attributes "valhalla.windows.users"; }