cleanup ps1
[webi-installers/.git] / _webi / template.ps1
index 121eea057418bb571dc29baa67346b2c7d890599..42e0c6b878a11fea88bc6ecc2392f96a94cdf08d 100644 (file)
@@ -22,10 +22,10 @@ $Env:WEBI_HOST = 'https://webinstall.dev'
 pushd $Env:USERPROFILE
 
 # Make paths if needed
-if (!(Test-Path -Path Downloads))
-{
-    New-Item -Path Downloads -ItemType Directory -Force
-}
+
+
+New-Item -Path Downloads -ItemType Directory -Force | out-null
+
 if (!(Test-Path -Path .local\bin))
 {
     New-Item -Path .local\bin -ItemType Directory -Force