Remove redundant "no copy" check

We also check this list as a filter to walkDir(), so no need for the
extra check here.
This commit is contained in:
Pierre Ossman 2019-11-11 13:32:19 +01:00 committed by Lauri Kasanen
parent 6bb87ee2b2
commit 6c84631bbc

View File

@ -177,8 +177,6 @@ function make_lib_files(import_format, source_maps, with_app_dir, only_legacy) {
const handleDir = (js_only, vendor_rewrite, in_path_base, filename) => Promise.resolve()
.then(() => {
if (no_copy_files.has(filename)) return;
const out_path = path.join(out_path_base, path.relative(in_path_base, filename));
const legacy_path = path.join(legacy_path_base, path.relative(in_path_base, filename));