Skip to content

Commit

Permalink
Sanitize project name to remove non camel case warning
Browse files Browse the repository at this point in the history
  • Loading branch information
la10736 committed Jan 7, 2020
1 parent 3c9f2ec commit 18d608e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ lazy_static! {
}

fn sanitize_project_name<S: AsRef<str>>(s: S) -> String {
s.as_ref().replace(":", "_")
s.as_ref().replace(":", "_").replace("__", "_")
}

pub fn prj() -> Project {
Expand Down

0 comments on commit 18d608e

Please sign in to comment.