set yarn by default for angular cli is upd to new syntax

This commit is contained in:
Francois B (Makoto) 2018-07-19 01:04:36 +02:00
parent 9576d58a51
commit 56cb8ac0c8
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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
}