Skip to content

Commit 437a2e0

Browse files
committed
[pwsh profile] Remove debug statements.
Closes #4.
1 parent 5ba0780 commit 437a2e0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PowerShell/Profile/Common/statements.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Set-PSReadLineKeyHandler -Chord Ctrl+F1 -BriefDescription 'Online Help' -Descrip
1616
[int]$cursor = 0
1717
[string]$commandName = ''
1818
[Microsoft.PowerShell.PSConsoleReadLine]::GetBufferState([ref]$null, [ref]$tokens, [ref]$null, [ref]$cursor)
19-
$null = $null
20-
#Write-Warning 'debug' -WarningAction Break
2119
foreach ($token in $tokens) {
2220
if ($token.Extent.StartOffset -gt $cursor) { break }
2321
if ($token.TokenFlags -band [System.Management.Automation.Language.TokenFlags]::CommandName) {

0 commit comments

Comments
 (0)