We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e46f2c commit 89bc13cCopy full SHA for 89bc13c
src/bootstrap/sanity.rs
@@ -77,8 +77,8 @@ pub fn check(build: &mut Build) {
77
78
// If a manual nodejs was added to the config,
79
// of if a nodejs install is detected through config, use it.
80
- if build.config.nodejs.is_some() {
81
- need_cmd("nodejs".as_ref())
+ if let Some(ref s) = build.config.nodejs {
+ need_cmd(s.as_ref());
82
}
83
84
// We're gonna build some custom C code here and there, host triples
0 commit comments