Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1835 handle auto-restore on twice #1836

Merged

Conversation

JohanLarsson
Copy link
Contributor

@JohanLarsson JohanLarsson commented Jul 28, 2016

Fix for running auto-restore a second time on a project.
Integration tests for one and two runs.

@JohanLarsson JohanLarsson force-pushed the Issue_1835_auto-restore_on_twice branch from 3970d4d to dd5d90c Compare July 28, 2016 11:45
@JohanLarsson JohanLarsson changed the title Issue 1835 auto restore on twice Issue 1835 handle auto-restore on twice Jul 28, 2016
@@ -34,7 +33,9 @@ let TurnOnAutoRestore environment =
do! downloadLatestBootstrapperAndTargets environment
let paketTargetsPath = Path.Combine(exeDir, Constants.TargetsFileName)

environment.Projects
// creating new projects after call to TurnOffAutoRestore to ensure they get saved.
let! projects = InstallProcess.findAllReferencesFiles(environment.RootDirectory.FullName)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is probably not the most elegant way.

@JohanLarsson JohanLarsson force-pushed the Issue_1835_auto-restore_on_twice branch from c55254f to b444388 Compare July 28, 2016 12:28
@forki
Copy link
Member

forki commented Aug 1, 2016

cool. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants