From 4754c29c3d6de883d6a7775cceaa4e1307f47773 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Fri, 13 May 2022 15:51:56 +0200 Subject: [PATCH] Fix issue using Sampler with Windows PowerShell (#369) --- CHANGELOG.md | 2 ++ Sampler/suffix.ps1 | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29cc4a76..2323d727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed a problem which occurred on certain machined when using Sampler in + Windows PowerShell. Fixes [#350](https://github.com/gaelcolas/Sampler/issues/350) - The module manifest is now correctly updated with release notes from the changelog. Fixes [#358](https://github.com/gaelcolas/Sampler/issues/358) diff --git a/Sampler/suffix.ps1 b/Sampler/suffix.ps1 index 05cce61a..80aa3df0 100644 --- a/Sampler/suffix.ps1 +++ b/Sampler/suffix.ps1 @@ -5,10 +5,6 @@ Get-ChildItem -Path (Join-Path -Path $PSScriptRoot -ChildPath 'tasks\*') -Includ $taskFileAliasName = "$($_.BaseName).$ModuleName.ib.tasks" Set-Alias -Name $taskFileAliasName -Value $_.FullName - - Export-ModuleMember -Alias $taskFileAliasName } Set-Alias -Name 'Set-SamplerTaskVariable' -Value "$PSScriptRoot/scripts/Set-SamplerTaskVariable.ps1" - -Export-ModuleMember -Alias 'Set-SamplerTaskVariable'