Skip to content

Commit 95351b7

Browse files
committed
Stop extra warning on import on PS5
1 parent e056d55 commit 95351b7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Source/Public/Build-Module.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
if (!(Get-Verb Build) -and $MyInvocation.Line -notmatch "DisableNameChecking") {
2-
Write-Warning "The verb 'Build' was approved recently, but PowerShell $($PSVersionTable.PSVersion.Major).$($PSVersionTable.PSVersion.Minor) doesn't know. You will be warned about Build-Module."
3-
}
4-
51
function Build-Module {
62
<#
73
.Synopsis

0 commit comments

Comments
 (0)