Skip to content

Commit 3decea0

Browse files
committed
Get-FileHash Powershell 2 compatibility change
1 parent c6ba389 commit 3decea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GetFileHash.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function Get-FileHash {
3131
}
3232
finally {
3333
$f.Close()
34-
if($sham) { $sham.Dispose() }
34+
if($sham) { $sham.Clear() }
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)