Skip to content

Commit

Permalink
execute instead of continue
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Jul 9, 2021
1 parent 1e24d92 commit 8f5294f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/kit/src/core/make_package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export async function make_package(config, cwd = process.cwd()) {
if (fs.lstatSync(full_path).isDirectory()) continue; // just to be sure

const package_path = path.join(cwd, config.kit.package.dir, pathname);
if (fs.existsSync(package_path)) continue;
fs.copyFileSync(full_path, package_path);
if (!fs.existsSync(package_path)) fs.copyFileSync(full_path, package_path);
}
}

Expand Down

0 comments on commit 8f5294f

Please sign in to comment.