aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs4
1 files changed, 0 insertions, 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<usize> {
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;
}