Resolve attachments via glob

This commit is contained in:
Simon R
2021-06-22 19:18:21 +02:00
committed by Dawid Dziurla
parent 44663f34dd
commit b9bedb34a4
96 changed files with 4707 additions and 1779 deletions

13
node_modules/.bin/showdown generated vendored
View File

@ -1 +1,12 @@
../showdown/bin/showdown.js
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../showdown/bin/showdown.js" "$@"
else
exec node "$basedir/../showdown/bin/showdown.js" "$@"
fi

17
node_modules/.bin/showdown.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\showdown\bin\showdown.js" %*

28
node_modules/.bin/showdown.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/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/../showdown/bin/showdown.js" $args
} else {
& "$basedir/node$exe" "$basedir/../showdown/bin/showdown.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../showdown/bin/showdown.js" $args
} else {
& "node$exe" "$basedir/../showdown/bin/showdown.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret