Bump deps (#414)
This commit is contained in:
committed by
GitHub
parent
5487a005b7
commit
89578a7fd9
@@ -53,7 +53,7 @@ pub fn run_npm_upgrade(_base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
|
|||||||
pub fn yarn_global_update(run_type: RunType) -> Result<()> {
|
pub fn yarn_global_update(run_type: RunType) -> Result<()> {
|
||||||
let yarn = require("yarn")?;
|
let yarn = require("yarn")?;
|
||||||
|
|
||||||
let output = Command::new(&yarn).arg("version").string_output()?;
|
let output = Command::new(&yarn).arg("--version").string_output()?;
|
||||||
if output.contains("Hadoop") {
|
if output.contains("Hadoop") {
|
||||||
debug!("Yarn is Hadoop yarn");
|
debug!("Yarn is Hadoop yarn");
|
||||||
return Err(SkipStep.into());
|
return Err(SkipStep.into());
|
||||||
|
|||||||
Reference in New Issue
Block a user