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}"