Skip to content

Commit e900ef3

Browse files
committed
remove unnecessary code
1 parent b7301dc commit e900ef3

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/build/packages.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -553,15 +553,6 @@ pub fn make(
553553
* the IO */
554554
let result = extend_with_children(filter, map);
555555

556-
// not necessary anymore because we create the dirs in parse
557-
// result.values().for_each(|package| {
558-
// if let Some(dirs) = &package.dirs {
559-
// dirs.iter().for_each(|dir| {
560-
// let _ = std::fs::create_dir_all(std::path::Path::new(&package.get_bs_build_path()).join(dir));
561-
// })
562-
// }
563-
// });
564-
565556
Ok(result)
566557
}
567558

src/build/parse.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,7 @@ pub fn parser_args(
268268
contents: &str,
269269
) -> (PathBuf, Vec<String>) {
270270
let file = &filename.to_string();
271-
// let path = PathBuf::from(filename);
272-
// let ast_extension = path_to_ast_extension(&path);
273-
// let ast_path = (helpers::get_basename(&file.to_string()).to_owned()) + ast_extension;
274271
let ast_path = helpers::get_ast_path(file);
275-
// make the dir of the ast_path if it doesn't exist yet:
276-
277272
let ppx_flags = config::flatten_ppx_flags(
278273
&if let Some(workspace_root) = workspace_root {
279274
format!("{}/node_modules", &workspace_root)

0 commit comments

Comments
 (0)