Remove redundant "no copy" check

We also check this list as a filter to walkDir(), so no need for the
extra check here.
pull/36/head
Pierre Ossman 6 years ago committed by Lauri Kasanen
parent 6bb87ee2b2
commit 6c84631bbc

@ -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() const handleDir = (js_only, vendor_rewrite, in_path_base, filename) => Promise.resolve()
.then(() => { .then(() => {
if (no_copy_files.has(filename)) return;
const out_path = path.join(out_path_base, path.relative(in_path_base, filename)); 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)); const legacy_path = path.join(legacy_path_base, path.relative(in_path_base, filename));

Loading…
Cancel
Save