Skip to content

Commit

Permalink
Attempt to fix longline
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Oct 29, 2023
1 parent 5efd451 commit c3b1946
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/GitHub/private/License/Get-GitHubLicenseByName.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ filter Get-GitHubLicenseByName {
https://docs.github.com/rest/licenses/licenses#get-a-license
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidLongLines', '', Justification = 'Contains a long link.')]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
'PSAvoidLongLines', '',
Scope = 'function',
Target = 'Get-GitHubLicenseByName',
Justification = 'Contains a long link.'
)]
[CmdletBinding()]
param (
# The license keyword, license name, or license SPDX ID. For example, mit or mpl-2.0.
Expand Down

0 comments on commit c3b1946

Please sign in to comment.