diff options
author | Daniel Smith <rdnlsmith@gmail.com> | 2020-03-01 17:18:34 -0500 |
---|---|---|
committer | Daniel Smith <rdnlsmith@gmail.com> | 2020-03-01 17:18:34 -0500 |
commit | f170b2371b756de9a4e5e1bf6113f4d3ffd6eded (patch) | |
tree | 791c1d608c98d74b32dc84f043f8239ada703fbb | |
parent | 6518d1adf0cf98d7139ee1040320e81fe1b90152 (diff) |
Fix input binding error for git log
`git log` takes a "long" time to start producing output, which caused
PowerShell to complain repeatedly that it could not bind the `$input`
parameter. Removing the `Mandatory=$true` constraint seems to fix this.
-rwxr-xr-x | pwsh-diff | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env pwsh param ( - [Parameter(Mandatory=$true, ValueFromPipeline=$true)][string[]]$input + [Parameter(ValueFromPipeline=$true)][string[]]$input ) $VERSION = "0.1.0" |