From a0827fb4f5e245bb18f1457c25c857608e1c255a Mon Sep 17 00:00:00 2001 From: David Refoua Date: Fri, 14 Oct 2022 23:27:22 +0330 Subject: [PATCH] formatting code --- scripts/utils.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index 593366f..953b4fe 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -38,7 +38,7 @@ function Extract-Archive($source, $target) { function Create-Archive($source, $target, $params) { $command = "7z a -x@`"$source\packignore`" $params $target $source > `$null" - Write-Verbose "Creating Archive from '$source' to '$target' with parameters '$params'" + Write-Verbose "Creating Archive from '$source' in '$target' with parameters '$params'" Invoke-Expression $command if ($lastexitcode -ne 0) { Write-Error "Compressing $source failed" @@ -58,7 +58,7 @@ function Flatten-Directory($name) { } function Digest-Hash($path) { - if(Get-Command Get-FileHash -ErrorAction SilentlyContinue){ + if (Get-Command Get-FileHash -ErrorAction SilentlyContinue) { return (Get-FileHash -Algorithm SHA256 -Path $path).Hash }