mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Fix typo.
This commit is contained in:
@@ -20,7 +20,7 @@ function GitRemoteResolver(decEndpoint, config, logger) {
|
||||
}
|
||||
|
||||
// Get the host of this source
|
||||
if (!/\/\/:/.test(this._source)) {
|
||||
if (!/:\/\//.test(this._source)) {
|
||||
this._host = url.parse('ssh://' + this._source);
|
||||
} else {
|
||||
this._host = url.parse(this._source);
|
||||
|
||||
Reference in New Issue
Block a user