From 64ba37e9c658991cb01e10ea0f9ab013357a338c Mon Sep 17 00:00:00 2001 From: Niko Martini Date: Wed, 17 Jul 2019 10:03:58 +0200 Subject: [PATCH] fix consistency error in ConvertTo-ByteUnit.psm1 --- lib/core/tools/ConvertTo-ByteUnit.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/tools/ConvertTo-ByteUnit.psm1 b/lib/core/tools/ConvertTo-ByteUnit.psm1 index e2db959..6aafb44 100644 --- a/lib/core/tools/ConvertTo-ByteUnit.psm1 +++ b/lib/core/tools/ConvertTo-ByteUnit.psm1 @@ -41,7 +41,7 @@ function ConvertTo-KiloByte() $result = ($Value / 1000); } KB { - Write-Output $Value; + $result = $Value; } MB { $result = ($Value * [math]::Pow(10, 3));