From 8cfa673d94c4cc7819fa817c3369cbb275ec6d24 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 11 Nov 2019 13:32:19 +0100 Subject: [PATCH] Remove redundant "no copy" check We also check this list as a filter to walkDir(), so no need for the extra check here. --- utils/use_require.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/use_require.js b/utils/use_require.js index 206d1269..d6b0df63 100755 --- a/utils/use_require.js +++ b/utils/use_require.js @@ -161,8 +161,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));