Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Mar 31, 2024
1 parent 62b8f05 commit 85f9248
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/public/Auth/Connect-GitHubAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,10 @@
[Alias('Login-GitHub')]
[Alias('Login-GH')]
[OutputType([void])]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSAvoidLongLines', '', Justification = 'Long links for documentation.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSReviewUnusedParameter', 'AccessToken', Justification = 'Required for parameter set')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSAvoidUsingWriteHost', '', Justification = 'Is the CLI part of the module.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSAvoidUsingConvertToSecureStringWithPlainText', '',
Justification = 'The tokens are recieved as clear text. Mitigating exposure by removing variables and performing garbage collection.'
)]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Long links for documentation.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', 'AccessToken', Justification = 'Required for parameter set')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '', Justification = 'Is the CLI part of the module.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '', Justification = 'The tokens are recieved as clear text. Mitigating exposure by removing variables and performing garbage collection.')]
[CmdletBinding(DefaultParameterSetName = 'DeviceFlow')]
param (
# Choose between authentication methods, either OAuthApp or GitHubApp.
Expand Down
1 change: 1 addition & 0 deletions src/public/Users/Keys/Add-GitHubUserKey.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#>
[OutputType([pscustomobject])]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Long links for documentation.')]
[CmdletBinding()]
param (
# A descriptive name for the new key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
[Create a SSH signing key for the authenticated user](https://docs.github.com/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user)
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Long links for documentation.')]
[OutputType([pscustomobject])]
[CmdletBinding()]
param (
Expand Down
1 change: 1 addition & 0 deletions src/public/Users/Social-Accounts/Add-GitHubUserSocial.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#>
[OutputType([void])]
[Alias('Add-GitHubUserSocials')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Long links for documentation.')]
[CmdletBinding()]
param (
# Full URLs for the social media profiles to add.
Expand Down

0 comments on commit 85f9248

Please sign in to comment.