chore: remove dead code
This commit is contained in:
parent
23b5b0c7ae
commit
2f8c7c7b0d
1 changed files with 0 additions and 13 deletions
|
|
@ -41,17 +41,6 @@ const bundle_map = app_list.reduce((out, app) => {
|
|||
|
||||
const get_public_path = (app) => public_paths[app];
|
||||
|
||||
const get_build_json_path = (app) => path.resolve(get_public_path(app), "build.json");
|
||||
|
||||
function get_build_json(app) {
|
||||
try {
|
||||
return require(get_build_json_path(app));
|
||||
} catch (e) {
|
||||
// build.json does not exist
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
function delete_file(path) {
|
||||
if (fs.existsSync(path)) {
|
||||
fs.unlinkSync(path);
|
||||
|
|
@ -177,8 +166,6 @@ module.exports = {
|
|||
apps_path,
|
||||
bundle_map,
|
||||
get_public_path,
|
||||
get_build_json_path,
|
||||
get_build_json,
|
||||
delete_file,
|
||||
run_serially,
|
||||
get_cli_arg,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue