From 1fe4e1923904ca3e711568605f6b585aeddfb250 Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT <53497092+rbalsleyMSFT@users.noreply.github.com> Date: Fri, 13 Jun 2025 14:15:26 -0700 Subject: [PATCH] Removes unnecessary module requirements from core and drivers modules --- FFUDevelopment/FFU.Common/FFU.Common.Core.psm1 | 2 -- FFUDevelopment/FFU.Common/FFU.Common.Drivers.psm1 | 5 ----- FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 | 2 -- 3 files changed, 9 deletions(-) diff --git a/FFUDevelopment/FFU.Common/FFU.Common.Core.psm1 b/FFUDevelopment/FFU.Common/FFU.Common.Core.psm1 index 1079e27..23d28a3 100644 --- a/FFUDevelopment/FFU.Common/FFU.Common.Core.psm1 +++ b/FFUDevelopment/FFU.Common/FFU.Common.Core.psm1 @@ -1,8 +1,6 @@ # FFU.Common.Core.psm1 # Contains common core functions like logging and process invocation. -#Requires -Modules BitsTransfer - # Script-scoped variable for the log file path $script:CommonCoreLogFilePath = $null # Mutex for log file access diff --git a/FFUDevelopment/FFU.Common/FFU.Common.Drivers.psm1 b/FFUDevelopment/FFU.Common/FFU.Common.Drivers.psm1 index 8e4e1cd..dae827a 100644 --- a/FFUDevelopment/FFU.Common/FFU.Common.Drivers.psm1 +++ b/FFUDevelopment/FFU.Common/FFU.Common.Drivers.psm1 @@ -1,11 +1,6 @@ # FFU Common Drivers Module # Contains shared functions related to driver handling. -#Requires -Modules Dism - -# # Import the common core module for logging and process invocation -# Import-Module "$PSScriptRoot\FFU.Common.Core.psm1" - # -------------------------------------------------------------------------- # SECTION: Driver Compression Function # -------------------------------------------------------------------------- diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 index 888b62a..e20f760 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 @@ -1,8 +1,6 @@ # FFU UI Core Logic Module # Contains non-UI specific helper functions, data retrieval, and core processing logic. -#Requires -Modules BitsTransfer - # -------------------------------------------------------------------------- # SECTION: Module Variables (Static Data & State) # --------------------------------------------------------------------------