Fix typo in jfrog-oauth and jfrog-token run.sh

pull/97/head
Muhammad Atif Ali 2 years ago
parent 9fe097a495
commit dc710ff579

@ -30,7 +30,7 @@ else
# check if yarn is installed and configure it to use the Artifactory "npm" repository.
if command -v yarn >/dev/null 2>&1; then
echo "📦 Configuring yarn..."
jf yarn --global --repo-resolve "${REPOSITORY_NPM}"
jf yarnc --global --repo-resolve "${REPOSITORY_NPM}"
fi
cat <<EOF >~/.npmrc
email = ${ARTIFACTORY_EMAIL}

@ -30,7 +30,7 @@ else
# check if yarn is installed and configure it to use the Artifactory "npm" repository.
if command -v yarn >/dev/null 2>&1; then
echo "📦 Configuring yarn..."
jf yarn --global --repo-resolve "${REPOSITORY_NPM}"
jf yarnc --global --repo-resolve "${REPOSITORY_NPM}"
fi
cat <<EOF >~/.npmrc
email = ${ARTIFACTORY_EMAIL}

Loading…
Cancel
Save