From c81da897d170ae245b6b3dd3559d10f3e7c787c5 Mon Sep 17 00:00:00 2001 From: Stanisław Zagórowski Date: Mon, 29 Jan 2024 17:08:08 +0100 Subject: misc: make reluax copy everything again --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4d92d9d..e9e0472 100644 --- a/src/main.rs +++ b/src/main.rs @@ -287,10 +287,6 @@ fn recurse_copy_lua(from: &Path, to: &Path) -> Result { std::fs::create_dir(&to)?; copied += recurse_copy_lua(&path, &to)?; } else { - let ext = path.extension().and_then(|s| s.to_str()); - if ext != Some("lua") && ext != Some("luax") { - continue; - } std::fs::copy(&path, &to)?; copied += 1; } -- cgit v1.3.1