Compare commits

...

1 Commits

Author SHA1 Message Date
Thomas Lacroix
1fc12f9192 (config)[Feature]: Add the possibility to set the shorthandResolver falsy. 2018-03-28 16:40:59 +02:00

View File

@@ -176,6 +176,12 @@ function getConstructor(decEndpoint, options, registryClient) {
// Check if is a shorthand and expand it
addResolver(function () {
// Check if the shorthandResolver is falsy
if (!config.shorthandResolver) {
return;
}
// Skip ssh and/or URL with auth
if (/[:@]/.test(source)) {
return;