Skip to content

Commit

Permalink
remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Dec 7, 2024
1 parent b6e5af5 commit 4d64acf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions d365fo.tools/functions/get-d365azurestoragefile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ function Get-D365AzureStorageFile {
}

try {
$files = Get-AzStorageBlob -Container $($Container.ToLower()) -Context $storageContext |
$files = Get-AzStorageBlob -Container $($Container.ToLower()) -Context $storageContext |
Sort-Object -Descending { $_.LastModified }

$selectParams = @{
TypeName = "D365FO.TOOLS.Azure.Blob"
Property = "Name", "Length as Size to PSFSize", "LastModified"
}
if ($Latest) {
$files |
Select-Object -First 1 |
$files |
Select-Object -First 1 |
Select-PSFObject @selectParams
}
else {
Expand Down

0 comments on commit 4d64acf

Please sign in to comment.