chore: linting

This commit is contained in:
zhom
2025-08-10 00:53:48 +04:00
parent 999eb165ec
commit e72397232e
2 changed files with 7 additions and 4 deletions
+3
View File
@@ -65,6 +65,9 @@ pub async fn bundle_project(
plat = Platform::current()
);
// Emit a plain stdout line so tests (and users without verbose logging) can detect the exact Node.js version
println!("Node.js v{node_version}");
if source_dir != project_path {
debug!("Using source directory: {}", source_dir.display());
}
+4 -4
View File
@@ -680,12 +680,12 @@ impl BundlerTestHelper {
#[cfg(windows)]
let (exec_path_owned, _temp_guard) = {
let tmp = TempDir::new().context("Failed to create temp dir for executable copy")?;
let file_name = executable_path
.file_name()
.ok_or_else(|| anyhow::anyhow!(
let file_name = executable_path.file_name().ok_or_else(|| {
anyhow::anyhow!(
"Executable path missing file name: {}",
executable_path.display()
))?;
)
})?;
let dest = tmp.path().join(file_name);
std::fs::copy(executable_path, &dest).with_context(|| {
format!(