mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
changed another path to providerPath
This commit is contained in:
@@ -28,7 +28,7 @@ Function Get-ExcelSheetInfo {
|
||||
$Path
|
||||
)
|
||||
process {
|
||||
$Path = (Resolve-Path $Path).Path
|
||||
$Path = (Resolve-Path $Path).ProviderPath
|
||||
write-debug "target excel file $Path"
|
||||
$stream = New-Object -TypeName System.IO.FileStream -ArgumentList $Path,"Open","Read","ReadWrite"
|
||||
$xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $stream
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
RootModule = 'ImportExcel.psm1'
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '2.2.6'
|
||||
ModuleVersion = '2.2.7'
|
||||
|
||||
# ID used to uniquely identify this module
|
||||
GUID = '60dd4136-feff-401a-ba27-a84458c57ede'
|
||||
|
||||
@@ -29,6 +29,7 @@ iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfi
|
||||
# What's new
|
||||
|
||||
#### 7/1/2016
|
||||
* Pushed 2.2.7 fixed resolve path in Get-ExcelSheetInfo
|
||||
* Fixed [Casting Error in Export-Excel](https://github.com/dfinke/ImportExcel/issues/108)
|
||||
* For `Import-Excel` change Resolve-Path to return ProviderPath for use with UNC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user