wishthis/node_modules/.bin/editorconfig

13 lines
326 B
Text
Raw Normal View History

2022-01-21 08:28:41 +00:00
#!/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/../editorconfig/bin/editorconfig" "$@"
else
exec node "$basedir/../editorconfig/bin/editorconfig" "$@"
fi