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

load scripts should only work on lock file - fixes #2372 #2834

Merged
merged 3 commits into from
Oct 11, 2017
Merged

Conversation

forki
Copy link
Member

@forki forki commented Oct 10, 2017

fixes #2372

@forki forki requested a review from matthid October 10, 2017 10:28
Copy link
Member

@matthid matthid left a comment

Choose a reason for hiding this comment

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

I guess you want to do the error handling changes in another pr. So it looks good to me.

verbosefn " - using Paket dependency file: %s" dependenciesFile.FileName
verbosefn " - using Packe fock file: %s" lockFile.FileName
verbosefn " - using Paket dependency file: %s" depCache.DependenciesFileName
verbosefn " - using Packe lock file: %s" lockFile.FileName
Copy link
Member

Choose a reason for hiding this comment

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

"Packe"?

@@ -438,10 +437,12 @@ let Restore(dependenciesFileName,projectFile,force,group,referencesFileNames,ign
s.Split([|';'|], StringSplitOptions.RemoveEmptyEntries)
|> Array.map (fun s -> s.Trim())
|> Array.choose FrameworkDetection.Extract)


let dependenciesFile = DependenciesFile.ReadFromFile(dependenciesFileName)
Copy link
Member

Choose a reason for hiding this comment

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

So do we actually need a depsfile when this fails? Or should we warn and continue?

@forki forki merged commit 72f9bb8 into master Oct 11, 2017
@forki forki deleted the i2372 branch October 11, 2017 08:57
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.

generate_load_scripts: true is working before install
2 participants