Remove yarn (fix #727)

This commit is contained in:
Roey Darwish Dror
2021-07-06 09:36:50 +03:00
parent d5d5abaac4
commit 38ca03cc38
2 changed files with 0 additions and 13 deletions

View File

@@ -87,18 +87,6 @@ pub fn pnpm_global_update(run_type: RunType) -> Result<()> {
run_type.execute(&pnpm).args(&["update", "-g"]).check_run()
}
pub fn yarn_global_update(run_type: RunType) -> Result<()> {
let yarn = require("yarn")?;
let output = Command::new(&yarn).arg("--version").string_output()?;
if output.contains("Hadoop") {
return Err(SkipStep(String::from("Installed yarn is Hadoop's yarn")).into());
}
print_separator("Yarn");
run_type.execute(&yarn).args(&["global", "upgrade", "-s"]).check_run()
}
pub fn deno_upgrade(ctx: &ExecutionContext) -> Result<()> {
let deno = require("deno")?;