From 3652d70967e08d478046e4ef1d04398b4aafdf59 Mon Sep 17 00:00:00 2001 From: Max Kozlov <{ID}+{username}@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:46:12 +0300 Subject: [PATCH] fix help typo --- .../Public/Get-GDriveProxySetting.ps1 | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/GMGoogleDrive/Public/Get-GDriveProxySetting.ps1 b/GMGoogleDrive/Public/Get-GDriveProxySetting.ps1 index dad7b7f..572dd31 100644 --- a/GMGoogleDrive/Public/Get-GDriveProxySetting.ps1 +++ b/GMGoogleDrive/Public/Get-GDriveProxySetting.ps1 @@ -1,22 +1,22 @@ -<# -.SYNOPSIS - Set Proxy Settings for use in GDrive functions -.DESCRIPTION - Set Proxy Settings for use in GDrive functions -.OUTPUTS - Proxy settings as PSObject -.NOTES - Author: Max Kozlov -.LINK - Set-GDriveProxySetting -#> -function Get-GDriveProxySetting { -[CmdletBinding()] -param( -) - [PSCustomObject]@{ - Proxy = if ($GDriveProxySettings.Proxy) { $GDriveProxySettings.Proxy } else { $null } - ProxyCredential = if ($GDriveProxySettings.ProxyCredential) { $GDriveProxySettings.ProxyCredential } else { $null } - ProxyUseDefaultCredentials = if ($GDriveProxySettings.ProxyUseDefaultCredentials) { $GDriveProxySettings.ProxyUseDefaultCredentials } else { $null } - } -} +<# +.SYNOPSIS + Get Proxy Settings for use in GDrive functions +.DESCRIPTION + Get Proxy Settings for use in GDrive functions +.OUTPUTS + Proxy settings as PSObject +.NOTES + Author: Max Kozlov +.LINK + Set-GDriveProxySetting +#> +function Get-GDriveProxySetting { +[CmdletBinding()] +param( +) + [PSCustomObject]@{ + Proxy = if ($GDriveProxySettings.Proxy) { $GDriveProxySettings.Proxy } else { $null } + ProxyCredential = if ($GDriveProxySettings.ProxyCredential) { $GDriveProxySettings.ProxyCredential } else { $null } + ProxyUseDefaultCredentials = if ($GDriveProxySettings.ProxyUseDefaultCredentials) { $GDriveProxySettings.ProxyUseDefaultCredentials } else { $null } + } +}