mirror of
https://github.com/zhom/banderole.git
synced 2026-06-06 06:23:53 +02:00
chore: linting
This commit is contained in:
@@ -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
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user