diff --git a/repo_functions_ub1604.sh b/repo_functions_ub1604.sh index d37f8b6..55c8279 100644 --- a/repo_functions_ub1604.sh +++ b/repo_functions_ub1604.sh @@ -1266,7 +1266,7 @@ angularcli;angularcli_PostTrtFct" # function angularcli_PostTrtFct () { if which yarn >/dev/null; then - runCmd "ng set --global packageManager=yarn" + runCmd "ng config -g cli.packageManager yarn" "using yarn instead of nom for angular/cli" fi } diff --git a/repo_functions_ub1804.sh b/repo_functions_ub1804.sh index 0485cff..ff6398a 100644 --- a/repo_functions_ub1804.sh +++ b/repo_functions_ub1804.sh @@ -1082,7 +1082,7 @@ function dockerio_PostTrtFct () { # function angularcli_PostTrtFct () { if which yarn >/dev/null; then - runCmd "ng set --global packageManager=yarn" \ + runCmd "ng config -g cli.packageManager yarn" \ "using yarn instead of nom for angular/cli" fi }