From 7f12cff3bd4d2c33b1a6b9fe7240099c1d25228f Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 11 Jan 2018 16:25:18 +0100 Subject: [PATCH] Minor build cleanup --- build/Modules/Umbraco.Build/Umbraco.Build.psm1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/Modules/Umbraco.Build/Umbraco.Build.psm1 b/build/Modules/Umbraco.Build/Umbraco.Build.psm1 index 62ab7f1865..dde1ef6467 100644 --- a/build/Modules/Umbraco.Build/Umbraco.Build.psm1 +++ b/build/Modules/Umbraco.Build/Umbraco.Build.psm1 @@ -239,18 +239,18 @@ function Prepare-Tests # data Write-Host "Copy data files" - if( -Not (Test-Path -Path "$tmp\tests\Packaging" ) ) + if (-Not (Test-Path -Path "$tmp\tests\Packaging" ) ) { Write-Host "Create packaging directory" - New-Item -ItemType directory -Path "$tmp\tests\Packaging" + mkdir "$tmp\tests\Packaging" > $null } Copy-Files "$src\Umbraco.Tests\Packaging\Packages" "*" "$tmp\tests\Packaging\Packages" # required for package install tests - if( -Not (Test-Path -Path "$tmp\tests\bin" ) ) + if (-Not (Test-Path -Path "$tmp\tests\bin" ) ) { Write-Host "Create bin directory" - New-Item -ItemType directory -Path "$tmp\tests\bin" + mkdir "$tmp\tests\bin" > $null } }