From 052d21fe432aa892fdfdc51862b70f91754d941b Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Thu, 21 Nov 2024 20:10:03 +0800 Subject: [PATCH] [EXPERIMENT] check npm path on the regular `x86_64-mingw` job --- src/tools/rustdoc-gui-test/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tools/rustdoc-gui-test/src/main.rs b/src/tools/rustdoc-gui-test/src/main.rs index 5adb525d7e649..274d9958682c2 100644 --- a/src/tools/rustdoc-gui-test/src/main.rs +++ b/src/tools/rustdoc-gui-test/src/main.rs @@ -10,11 +10,16 @@ use config::Config; mod config; fn get_browser_ui_test_version_inner(npm: &Path, global: bool) -> Option { + eprintln!("XXX(experimental): npm is `{:?}`", npm.display()); + let mut command = Command::new(&npm); command.arg("list").arg("--parseable").arg("--long").arg("--depth=0"); if global { command.arg("--global"); } + + eprintln!("XXX(experimental): npm cmd: {command:?}"); + let lines = match command.output() { Ok(output) => String::from_utf8_lossy(&output.stdout).into_owned(), Err(e) => {