From bf41aa1614a761d19b99ab2d25fa0d920b664355 Mon Sep 17 00:00:00 2001 From: Nate Ferrell Date: Sun, 29 Apr 2018 01:51:09 -0500 Subject: [PATCH] !build updated casing for module and fix CI tests --- VaporShell/VaporShell.psm1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/VaporShell/VaporShell.psm1 b/VaporShell/VaporShell.psm1 index 21e882a18..457cecc85 100644 --- a/VaporShell/VaporShell.psm1 +++ b/VaporShell/VaporShell.psm1 @@ -43,12 +43,16 @@ if (!([AppDomain]::CurrentDomain.GetAssemblies() | Where-Object {$_.Location -li } } -# Add Intrinsic Function short aliases +# Add Intrinsic and Condition Function short aliases $aliases = @() Get-ChildItem "$PSScriptRoot\Public\Intrinsic Functions" | ForEach-Object { $aliases += ($_.BaseName).Replace('Add-','') New-Alias -Name ($_.BaseName).Replace('Add-','') -Value $_.BaseName -Force } +Get-ChildItem "$PSScriptRoot\Public\Condition Functions" | ForEach-Object { + $aliases += ($_.BaseName).Replace('Add-','') + New-Alias -Name ($_.BaseName).Replace('Add-','') -Value $_.BaseName -Force +} # Add in Pseudo Parameter variables from private text file (allows growth in case additional parameters need to be added in) $vars = @()