We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d753fcc commit 8d7a2a3Copy full SHA for 8d7a2a3
crates/cli/src/project/runner.rs
@@ -10,10 +10,14 @@ pub(crate) enum Runner {
10
}
11
12
impl Runner {
13
- pub fn git_host(&self) -> &str {
+ pub fn git_host(&self) -> String {
14
+ format!("git@{}.smbcloud.xyz", self.api())
15
+ }
16
+
17
+ fn api(&self) -> &str {
18
match self {
- Runner::Swift => "git@api.musik88.com",
- _ => "git@api.smbcloud.xyz",
19
+ Runner::NodeJs => "api",
20
+ Runner::Ruby | Runner::Swift => "api-1",
21
22
23
0 commit comments