From f8dc1da5373442b35d9e2afe87e72b2885f84fda Mon Sep 17 00:00:00 2001 From: Bart Dubois Date: Sun, 21 May 2017 22:50:11 +0200 Subject: [PATCH] Fix ES6 template string should be ${...} not @{...} --- lib/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }