Yarn global upgrade

This commit is contained in:
Roey Darwish Dror
2018-08-07 13:43:24 +03:00
parent dccf508044
commit 63f584a0d5
2 changed files with 15 additions and 0 deletions

View File

@@ -214,6 +214,11 @@ fn run() -> Result<(), Error> {
}
}
if let Some(yarn) = utils::which("yarn") {
terminal.print_separator("Yarn");
yarn_global_update(&yarn).report("Yarn", &mut reports);
}
if let Some(apm) = utils::which("apm") {
terminal.print_separator("Atom Package Manager");
run_apm(&apm).report("Atom Package Manager", &mut reports);