node_modules/.bin/semver.ps1
@@ -9,20 +9,10 @@ } $ret=0 if (Test-Path "$basedir/node$exe") { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args } else { & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args } $ret=$LASTEXITCODE } else { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "node$exe" "$basedir/../semver/bin/semver.js" $args } else { & "node$exe" "$basedir/../semver/bin/semver.js" $args } $ret=$LASTEXITCODE } exit $ret