source: trip-planner-front/node_modules/.bin/installed-package-contents.ps1@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 506 bytes
Line 
1#!/usr/bin/env pwsh
2$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
4$exe=""
5if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6 # Fix case when both the Windows and Linux builds of Node
7 # are installed in the same directory
8 $exe=".exe"
9}
10# Support pipeline input
11if ($MyInvocation.ExpectingInput) {
12 $input | & "$basedir/../@npmcli/installed-package-contents/index.js" $args
13} else {
14 & "$basedir/../@npmcli/installed-package-contents/index.js" $args
15}
16exit $LASTEXITCODE
Note: See TracBrowser for help on using the repository browser.