Sha256: 514979cd146ad41d9017e98b4b633d08130c9dad37b40654fed9a093df5bca04
Contents?: true
Size: 777 Bytes
Versions: 6
Compression:
Stored size: 777 Bytes
Contents
#!/usr/bin/env pwsh $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent $exe="" if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { # Fix case when both the Windows and Linux builds of Node # are installed in the same directory $exe=".exe" } $ret=0 if (Test-Path "$basedir/node$exe") { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args } else { & "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args } $ret=$LASTEXITCODE } else { # Support pipeline input if ($MyInvocation.ExpectingInput) { $input | & "node$exe" "$basedir/../rimraf/bin.js" $args } else { & "node$exe" "$basedir/../rimraf/bin.js" $args } $ret=$LASTEXITCODE } exit $ret
Version data entries
6 entries across 6 versions & 1 rubygems