See this TODO comment:
|
# TODO: This should be performed using the tooling provided by dotnet-authors in the future. |
|
function normalizeCopyrights($copyrights) { |
|
$normalized = @() |
|
foreach ($copyright in $copyrights) { |
|
if ($copyright -eq '© 2024 Friedrich von Never') { |
|
$normalized += '2024 Friedrich von Never <friedrich@fornever.me>' |
|
} else { |
|
$normalized += $copyright |
|
} |
|
} |
|
return $normalized |
|
} |
For now, this is a quick hack, but in the future my intention will be to have a general tool to work with copyright statements in the form of the dotnet-authors package.
See this TODO comment:
dotnet-licenses/scripts/Test-NuGetMetadata.ps1
Lines 27 to 38 in de6e082
For now, this is a quick hack, but in the future my intention will be to have a general tool to work with copyright statements in the form of the
dotnet-authorspackage.