Skip to content

Commit

Permalink
PSCmdlet
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiismadd committed Nov 24, 2022
1 parent 93c53a9 commit 1029c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standard-CT-Module/CT-PS-Standard.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,6 @@ function Get-CurrentLineNumber {
# Downloads a file using BITS if possible, and if BITS is not available, downloads directly from URL
[CmdletBinding()]
param()
return "$(Get-ChildItem $MyInvocation.ScriptLineNumber)"
return "$($PSCmdlet.MyInvocation.ScriptLineNumber)"
}

0 comments on commit 1029c1c

Please sign in to comment.