mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
Fix python and js group
This commit is contained in:
@@ -69,7 +69,9 @@ pl_js_group_setsrc (char *option)
|
||||
pl_js_check_cmd (&npm_exist, &yarn_exist, &pnpm_exist);
|
||||
|
||||
chsrc_set_target_group_mode ();
|
||||
chsrc_yield_source_and_confirm (pl_js_group);
|
||||
|
||||
use_this(pl_js_group);
|
||||
Source_t source = chsrc_yield_source_and_confirm (this, option);
|
||||
|
||||
if (npm_exist)
|
||||
{
|
||||
|
@@ -27,7 +27,7 @@ pl_js_group_prelude (void)
|
||||
chef_set_contributors (this,0);
|
||||
|
||||
chef_allow_local_mode (this, PartiallyCan,
|
||||
"支持 npm, yarn v2, pnpm, 不支持 yarn v1"
|
||||
"支持 npm, yarn v2, pnpm, 不支持 yarn v1",
|
||||
"Support npm, yarn v2, pnpm, not yarn v1");
|
||||
chef_allow_english(this);
|
||||
chef_allow_user_define(this);
|
||||
|
@@ -48,7 +48,7 @@ pl_js_nvm_getsrc (char *option)
|
||||
void
|
||||
pl_js_nvm_setsrc (char *option)
|
||||
{
|
||||
Source_t source = chsrc_yield_source_and_confirm (&pl_js_binary_release);
|
||||
Source_t source = chsrc_yield_source_and_confirm (&pl_js_nodejs_binary_target);
|
||||
|
||||
char *w = xy_strjoin (3, "export NVM_NODEJS_ORG_MIRROR=", source.url, "\n");
|
||||
|
||||
|
Reference in New Issue
Block a user