-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnanoid
More file actions
executable file
·17 lines (15 loc) · 1.23 KB
/
nanoid
File metadata and controls
executable file
·17 lines (15 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules/nanoid/bin/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules/nanoid/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules/nanoid/bin/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules/nanoid/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/nanoid@3.3.8/node_modules:/Users/krishnachaitanya/Documents/GitHub/Krishna-Website/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
else
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
fi