Skip to content

Commit

Permalink
Use $item.Name to save resource with the extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioESSilva committed Jun 5, 2018
1 parent 3f288aa commit 3e87c41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function Write-RsCatalogItem
$warnings = $null
try
{
$Proxy.CreateCatalogItem($itemType, $itemName, $RsFolder, $Overwrite, $bytes, $additionalProperties, [ref]$warnings) | Out-Null
$Proxy.CreateCatalogItem($itemType, $item.Name, $RsFolder, $Overwrite, $bytes, $additionalProperties, [ref]$warnings) | Out-Null
if ($warnings)
{
foreach ($warn in $warnings)
Expand Down

0 comments on commit 3e87c41

Please sign in to comment.