mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Fixed a misplaced commas
Param block in close was re-ordered leaving a parameter in the middle missing a comma and the parameter at the end had a comma it should not have done.
This commit is contained in:
@@ -34,11 +34,11 @@ Function Close-ExcelPackage {
|
||||
[parameter(Mandatory=$true, ValueFromPipeline=$true)]
|
||||
[OfficeOpenXml.ExcelPackage]$ExcelPackage,
|
||||
#Open the file
|
||||
[switch]$Show
|
||||
[switch]$Show,
|
||||
#Abandon the file without saving
|
||||
[Switch]$NoSave,
|
||||
#Save file with a new name (ignored if -NoSaveSpecified)
|
||||
$SaveAs,
|
||||
$SaveAs
|
||||
)
|
||||
if ( $NoSave) {$ExcelPackage.Dispose()}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user