From 2bbffe893457d4d973d985d0062557d4b535ff23 Mon Sep 17 00:00:00 2001 From: Alexander Mnich Date: Mon, 28 Oct 2024 23:52:53 +0100 Subject: [PATCH] add missing import --- scripts/Update-AllPackageManifests.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Update-AllPackageManifests.ps1 b/scripts/Update-AllPackageManifests.ps1 index e17e90e..c001c7f 100644 --- a/scripts/Update-AllPackageManifests.ps1 +++ b/scripts/Update-AllPackageManifests.ps1 @@ -5,7 +5,9 @@ param( [Parameter(Mandatory = $false)] [string] $Submit, [Parameter(Mandatory = $false)] [string] $Resolves ) - +$scriptPath = $MyInvocation.MyCommand.Path +$scriptDirectory = Split-Path -Parent $scriptPath +Import-Module "$scriptDirectory\..\modules\WingetMaintainerModule" # Check if powershell-yaml module is installed if (-not (Get-Module -Name powershell-yaml -ListAvailable)) { # Install powershell-yaml module