takes root dir name if there's no project name in the manifest

pull/8/head
Denis P 5 years ago
parent b5e18db60c
commit cee42131b6
No known key found for this signature in database
GPG Key ID: 39069184361202D8

@ -134,7 +134,7 @@ fn main() {
.map_or_else(
|| {
error!("No metadata found. Use --manifest_path for execute");
exit(-2);
project_dir.file_name().and_then(|x| x.to_str()).unwrap()
},
|p| &p.name,
);

Loading…
Cancel
Save