Publish preview version #42
@ -96,7 +96,7 @@ function New-CredentialStore {
|
|||||||
}
|
}
|
||||||
Write-Error @ErrorParams
|
Write-Error @ErrorParams
|
||||||
}
|
}
|
||||||
elseif ( ($null -eq $Path.Extension) -or ($Path.Extension -ne '*.json')) {
|
elseif ( ($null -eq $Path.Extension) -or ($Path.Extension -ne '.json')) {
|
||||||
$ErrorParams = @{
|
$ErrorParams = @{
|
||||||
ErrorAction = 'Stop'
|
ErrorAction = 'Stop'
|
||||||
Exception = [System.IO.InvalidDataException]::new(
|
Exception = [System.IO.InvalidDataException]::new(
|
||||||
|
Loading…
Reference in New Issue
Block a user