Skip to content

Commit

Permalink
fix windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
macalimlim committed Jul 1, 2021
1 parent 64f0975 commit 1a2c1aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ftw_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ impl FtwCommand {
let class_name = class_name.replace(".rs", "")._pascal_case();
let module_name = class_name._snake_case();
let path_display = format!("{}", path.display());
println!("PATH DISPLAY >>>>>>>>> {}", path_display);
let full_module_name_vec: Vec<&str> =
path_display.as_str().split('/').collect();
let (_, module_path) = full_module_name_vec.split_at(2);
Expand Down

0 comments on commit 1a2c1aa

Please sign in to comment.