mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
feat: custom_user_agent
This commit is contained in:
@@ -52,7 +52,7 @@ pl_ruby_getsrc (char *option)
|
||||
chsrc_run ("bundle config get mirror.https://rubygems.org", RunOpt_Default);
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
pl_ruby_remove_gem_source (const char *source)
|
||||
{
|
||||
char *cmd = NULL;
|
||||
@@ -61,6 +61,7 @@ pl_ruby_remove_gem_source (const char *source)
|
||||
cmd = xy_2strjoin ("gem sources -r ", source);
|
||||
chsrc_run (cmd, RunOpt_Default);
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -105,4 +106,4 @@ void
|
||||
pl_ruby_resetsrc (char *option)
|
||||
{
|
||||
pl_ruby_setsrc (option);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user