We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check_installation
1 parent 633d643 commit de6b80aCopy full SHA for de6b80a
src/scripts/ensure-pkg-manager.sh
@@ -6,7 +6,7 @@ NAME="${PARAM_STR_REF}"
6
VERSION=""
7
SUDO=""
8
9
-check_instalation () {
+check_installation () {
10
local installed_version
11
local required_version
12
local tag_regex
@@ -48,7 +48,7 @@ fi
48
if [[ "${NAME}" == "npm" ]]; then
49
if [[ -n "${VERSION}" ]]; then
50
${SUDO} npm i -g npm@"${VERSION}"
51
- check_instalation "${NAME}" "${VERSION}"
+ check_installation "${NAME}" "${VERSION}"
52
else
53
echo "Detected npm version: $(npm --version)"
54
fi
@@ -70,7 +70,7 @@ if [[ "${NAME}" == "pnpm" ]]; then
70
71
72
${SUDO} npm i -g pnpm@"${VERSION}"
73
74
75
echo "Setting ~/.pnpm-store as the store directory"
76
0 commit comments