aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-29 17:08:08 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-29 17:08:08 +0100
commitc81da897d170ae245b6b3dd3559d10f3e7c787c5 (patch)
treed6308949df3b93f4a624a733de712fbd87b694ed /src/main.rs
parentb76e215256fa8d6d7cc914910eeed95d995458c5 (diff)
misc: make reluax copy everything again
Diffstat (limited to 'src/main.rs')
-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;
}