Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /opt/alt/alt-nodejs20/root/lib/node_modules/corepack/shims/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/alt-nodejs20/root/lib/node_modules/corepack/shims/yarnpkg.ps1
#!/usr/bin/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/../dist/yarnpkg.js" $args
  } else {
    & "$basedir/node$exe"  "$basedir/../dist/yarnpkg.js" $args
  }
  $ret=$LASTEXITCODE
} else {
  # Support pipeline input
  if ($MyInvocation.ExpectingInput) {
    $input | & "node$exe"  "$basedir/../dist/yarnpkg.js" $args
  } else {
    & "node$exe"  "$basedir/../dist/yarnpkg.js" $args
  }
  $ret=$LASTEXITCODE
}
exit $ret

Yohohohohohooho | Sanrei Aya