diff --git a/lib/utils.js b/lib/utils.js index 3515f0ea6..10a4a35c2 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -88,13 +88,13 @@ function validate_metadata(object, name) { * @return {String} base registry url */ function combineBaseUrl(protocol, host, prefix) { - let result = '@{protocol}://@{host}'; + let result = '${protocol}://${host}'; if (prefix) { prefix = prefix.replace(/\/$/, ''); result = (prefix.indexOf('/') === 0) - ? '@{result}@{prefix}' + ? '${result}${prefix}' : prefix; }