From 5336a0a61149aeff3ff90ae32c06086ed44790c9 Mon Sep 17 00:00:00 2001 From: Bart Dubois Date: Sun, 21 May 2017 22:55:49 +0200 Subject: [PATCH] Fix ES string delimiters Use ` in stand of ' --- lib/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index 10a4a35c2..aa30690e4 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; }