mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use approved verb instead of Generate-CrossGenAssembly (#8151)
This commit is contained in:
+2
-2
@@ -2074,7 +2074,7 @@ function Start-CrossGen {
|
||||
$Runtime
|
||||
)
|
||||
|
||||
function Generate-CrossGenAssembly {
|
||||
function New-CrossGenAssembly {
|
||||
param (
|
||||
[Parameter(Mandatory= $true)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
@@ -2224,7 +2224,7 @@ function Start-CrossGen {
|
||||
|
||||
foreach ($assemblyName in $fullAssemblyList) {
|
||||
$assemblyPath = Join-Path $PublishPath $assemblyName
|
||||
Generate-CrossGenAssembly -CrossgenPath $crossGenPath -AssemblyPath $assemblyPath
|
||||
New-CrossGenAssembly -CrossgenPath $crossGenPath -AssemblyPath $assemblyPath
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user