-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix support for private GitHub shortcuts deps. Fix #573
- Loading branch information
1 parent
f0a3500
commit 8bf83d7
Showing
7 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,10 @@ export default class BitbucketResolver extends HostedGitResolver { | |
} | ||
|
||
static getGitSSHUrl(parts: ExplodedFragment): string { | ||
return `git+ssh://[email protected]/${ parts.user }/${ parts.repo }.git`; | ||
} | ||
|
||
static getGitSSH(parts: ExplodedFragment): string { | ||
return `[email protected]:${parts.user}/${parts.repo}.git`; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ export default class GitHubResolver extends HostedGitResolver { | |
} | ||
|
||
static getGitSSHUrl(parts: ExplodedFragment): string { | ||
return `git+ssh://[email protected]/${ parts.user }/${ parts.repo }.git`; | ||
} | ||
|
||
static getGitSSH(parts: ExplodedFragment): string { | ||
return `[email protected]:${parts.user}/${parts.repo}.git`; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,10 @@ export default class GitLabResolver extends HostedGitResolver { | |
} | ||
|
||
static getGitSSHUrl(parts: ExplodedFragment): string { | ||
return `git+ssh://[email protected]/${ parts.user }/${ parts.repo }.git`; | ||
} | ||
|
||
static getGitSSH(parts: ExplodedFragment): string { | ||
return `[email protected]:${parts.user}/${parts.repo}.git`; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters