Skip to content

Commit 664ffa4

Browse files
committed
Don't print "x.ps1"
This is left over from adding `Get-Command -syntax`; it's not helpful.
1 parent fa7e965 commit 664ffa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$ErrorActionPreference = "Stop"
66

77
# syntax check
8-
Get-Command -syntax ${PSCommandPath}
8+
Get-Command -syntax ${PSCommandPath} >$null
99

1010
$xpy = Join-Path $PSScriptRoot x.py
1111
# Start-Process for some reason splits arguments on spaces. (Isn't powershell supposed to be simpler than bash?)

0 commit comments

Comments
 (0)