openConsole.psm1: fix unapproved verb warning (#10145)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #10097 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
This commit is contained in:
parent
ff8fdbd243
commit
504e610841
|
@ -19,7 +19,7 @@ function Invoke-CheckBadCodeFormatting() {
|
|||
}
|
||||
|
||||
# Manually check the formatting of our .xaml files, without touching them.
|
||||
Verify-XamlFormat
|
||||
Test-XamlFormat
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -366,7 +366,7 @@ function Invoke-ClangFormat {
|
|||
#.SYNOPSIS
|
||||
# Check that xaml files are formatted correctly. This won't actually
|
||||
# format the files - it'll only ensure that they're formatted correctly.
|
||||
function Verify-XamlFormat() {
|
||||
function Test-XamlFormat() {
|
||||
$root = Find-OpenConsoleRoot
|
||||
& dotnet tool restore --add-source https://api.nuget.org/v3/index.json
|
||||
|
||||
|
@ -438,4 +438,4 @@ function Get-Format()
|
|||
& "$root\dep\nuget\nuget.exe" restore "$root\tools\packages.config"
|
||||
}
|
||||
|
||||
Export-ModuleMember -Function Set-MsbuildDevEnvironment,Invoke-OpenConsoleTests,Invoke-OpenConsoleBuild,Start-OpenConsole,Debug-OpenConsole,Invoke-CodeFormat,Invoke-XamlFormat,Verify-XamlFormat,Get-Format
|
||||
Export-ModuleMember -Function Set-MsbuildDevEnvironment,Invoke-OpenConsoleTests,Invoke-OpenConsoleBuild,Start-OpenConsole,Debug-OpenConsole,Invoke-CodeFormat,Invoke-XamlFormat,Test-XamlFormat,Get-Format
|
||||
|
|
Loading…
Reference in New Issue