Skip to content

Commit a366200

Browse files
committed
remove unnecessary code
1 parent 368f400 commit a366200

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
@@ -263,12 +263,7 @@ pub fn parser_args(
263263
contents: &str,
264264
) -> (PathBuf, Vec<String>) {
265265
let file = &filename.to_string();
266-
// let path = PathBuf::from(filename);
267-
// let ast_extension = path_to_ast_extension(&path);
268-
// let ast_path = (helpers::get_basename(&file.to_string()).to_owned()) + ast_extension;
269266
let ast_path = helpers::get_ast_path(file);
270-
// make the dir of the ast_path if it doesn't exist yet:
271-
272267
let ppx_flags = config::flatten_ppx_flags(
273268
&if let Some(workspace_root) = workspace_root {
274269
format!("{}/node_modules", &workspace_root)

0 commit comments

Comments
 (0)