Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/././../../../../../.nvm/.
الملفات الموجودة في هذا الـ Path:
.
..
.cache
.dockerignore
.editorconfig
.git
.gitattributes
.github
.gitignore
.mailmap
.npmrc
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
GOVERNANCE.md
LICENSE.md
Makefile
PROJECT_CHARTER.md
README.md
ROADMAP.md
alias
bash_completion
install.sh
nvm-exec
nvm.sh
package.json
rename_test.sh
test
update_test_mocks.sh
versions

مشاهدة ملف: nvm-exec

#!/usr/bin/env bash

DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

# shellcheck disable=SC1090,SC1091
\. "$DIR/nvm.sh" --no-use

if [ -n "$NODE_VERSION" ]; then
  nvm use "$NODE_VERSION" > /dev/null || exit 127
elif ! nvm use >/dev/null 2>&1; then
  echo "No NODE_VERSION provided; no .nvmrc file found" >&2
  exit 127
fi

exec "$@"