PowerShell 6 Core Support #35

Merged
OCram85 merged 10 commits from dev into master 2019-01-16 12:55:30 +01:00
Showing only changes of commit 3787a561a7 - Show all commits

View File

@ -39,7 +39,7 @@ function Invoke-UnitTests {
try { try {
Write-Host '===== Preload internal private functions =====' -ForegroundColor Black -BackgroundColor Yellow Write-Host '===== Preload internal private functions =====' -ForegroundColor Black -BackgroundColor Yellow
$Privates = Get-ChildItem -Path (Join-Path -Path $Env:TRAVIS_BUILD_DIR -ChildPath '/src/Private/*') -Include "*.ps1" -Recurse $Privates = Get-ChildItem -Path (Join-Path -Path $Env:TRAVIS_BUILD_DIR -ChildPath '/src/Private/*') -Include "*.ps1" -Recurse -ErrorAction Stop
foreach ($File in $Privates) { foreach ($File in $Privates) {
if (Test-Path -Path $File.FullName) { if (Test-Path -Path $File.FullName) {
. $File.FullName . $File.FullName