Skip to content

Commit

Permalink
Merge pull request #2 from paritytech/fix_dir_issues
Browse files Browse the repository at this point in the history
Fix dir issues
  • Loading branch information
General-Beck authored Nov 6, 2019
2 parents b5e18db + b066859 commit 7a6ac0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ ARGS:

## How to install
```bash
git clone https://gitlab.parity.io/General-Beck/cargo-remote.git
git clone https://github.com/sgeisler/cargo-remote
cargo install --path cargo-remote/
```
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ fn main() {
.find(|p| p.manifest_path == manifest_path)
.map_or_else(
|| {
error!("No metadata found. Use --manifest_path for execute");
exit(-2);
info!("No metadata found. Setting the remote dir name like the local. Or use --manifest_path for execute");
project_dir.file_name().and_then(|x| x.to_str()).unwrap()
},
|p| &p.name,
);
Expand Down

0 comments on commit 7a6ac0f

Please sign in to comment.