diff options
author | grant-kun <[email protected]> | 2022-09-26 11:31:02 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-26 11:31:02 -0500 |
commit | 4b237cd7f3d9ebffdfc60d987c4df3c2595c3b7c (patch) | |
tree | 1176d127cdedb18918ef8a3d728737c9937af486 /node_modules/.bin/mime.ps1 | |
parent | ef9d69cee87c45fc4507780a891591cc31ec5481 (diff) |
Delete node_modules directory
Diffstat (limited to 'node_modules/.bin/mime.ps1')
-rw-r--r-- | node_modules/.bin/mime.ps1 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/node_modules/.bin/mime.ps1 b/node_modules/.bin/mime.ps1 deleted file mode 100644 index 2222f40..0000000 --- a/node_modules/.bin/mime.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -#!/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/../mime/cli.js" $args - } else { - & "$basedir/node$exe" "$basedir/../mime/cli.js" $args - } - $ret=$LASTEXITCODE -} else { - # Support pipeline input - if ($MyInvocation.ExpectingInput) { - $input | & "node$exe" "$basedir/../mime/cli.js" $args - } else { - & "node$exe" "$basedir/../mime/cli.js" $args - } - $ret=$LASTEXITCODE -} -exit $ret |