From 0980e807e3a563efa789e04a606fd6996379125f Mon Sep 17 00:00:00 2001 From: Brice Lambson Date: Wed, 23 Oct 2019 13:13:27 -0700 Subject: [PATCH] PMC Tools: Re-add functions to Export-ModuleMember calls Fixes #1337 --- src/NuGet/EntityFramework/tools/EntityFramework6.PS2.psm1 | 2 +- src/NuGet/EntityFramework/tools/EntityFramework6.psm1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NuGet/EntityFramework/tools/EntityFramework6.PS2.psm1 b/src/NuGet/EntityFramework/tools/EntityFramework6.PS2.psm1 index ffaf33cc09..6081e60d7b 100644 --- a/src/NuGet/EntityFramework/tools/EntityFramework6.PS2.psm1 +++ b/src/NuGet/EntityFramework/tools/EntityFramework6.PS2.psm1 @@ -535,4 +535,4 @@ function WarnIfOtherEFs($cmdlet) } } -Export-ModuleMember -Variable 'InitialDatabase' +Export-ModuleMember 'Add-EFDefaultConnectionFactory', 'Add-EFProvider', 'Add-Migration', 'Enable-Migrations', 'Get-Migrations', 'Update-Database' -Variable 'InitialDatabase' diff --git a/src/NuGet/EntityFramework/tools/EntityFramework6.psm1 b/src/NuGet/EntityFramework/tools/EntityFramework6.psm1 index 829e324fee..c1dbe7829d 100644 --- a/src/NuGet/EntityFramework/tools/EntityFramework6.psm1 +++ b/src/NuGet/EntityFramework/tools/EntityFramework6.psm1 @@ -1206,4 +1206,4 @@ function GetConfigPath($project) return GetProperty $item.Properties 'FullPath' } -Export-ModuleMember -Variable 'InitialDatabase' +Export-ModuleMember 'Add-EFDefaultConnectionFactory', 'Add-EFProvider', 'Add-Migration', 'Enable-Migrations', 'Get-Migrations', 'Update-Database' -Variable 'InitialDatabase'