From 30473554e2f589eb7f1facb4768a79466bcda550 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 6 Aug 2022 20:36:36 +0000 Subject: [PATCH] Fixed plugin.sh --- tools/wasm-pack-plugin/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wasm-pack-plugin/plugin.sh b/tools/wasm-pack-plugin/plugin.sh index 8eec291..d5d875c 100755 --- a/tools/wasm-pack-plugin/plugin.sh +++ b/tools/wasm-pack-plugin/plugin.sh @@ -29,7 +29,7 @@ if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)publish(,|$)' ]]; then if [ "${PLUGIN_SCOPE:-}" = "" ]; then npm config set registry ${REGISTRY} else - npm config set ${PLUGIN_SCOPE}:registry ${REGISTRY} + npm config set @${PLUGIN_SCOPE}:registry ${REGISTRY} fi npm config set -- $(echo ${REGISTRY} | sed -Ee "s/^https?://"):_authToken "${PLUGIN_TOKEN}"