Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fixed upgrading keys on the first run #3904

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Fixed upgrading keys on the first run #3904

merged 1 commit into from
Dec 19, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Dec 19, 2016

No description provided.

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Dec 19, 2016
let mut parent = to.clone();
parent.pop();
match fs::create_dir_all(&parent).and_then(|()| fs::read_dir(from)) {
match fs::create_dir_all(&to).and_then(|()| fs::read_dir(from)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the function moves individual files destination directory must be created here.

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 19, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.009%) to 85.842% when pulling ddb242c on new-dirs into e0f6f8f on master.

@gavofyork gavofyork merged commit cd8af0a into master Dec 19, 2016
@gavofyork gavofyork deleted the new-dirs branch December 19, 2016 21:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants