mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 21:57:41 +00:00
fix(utils): reduce log level of errors in utils. (#1730)
Have reduced the log level when we fail to execute a command since this is happening a lot more that expected, for example if a user checks out a repo that contains a `.js` file but they don't have node installed.
This commit is contained in:
parent
d46c76920e
commit
0883ad78cf
@ -253,7 +253,7 @@ fn internal_exec_cmd(cmd: &str, args: &[&str]) -> Option<CommandOutput> {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
log::warn!("Executing command {:?} failed by: {:?}", cmd, error);
|
log::info!("Executing command {:?} failed by: {:?}", cmd, error);
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user