Skip to content

Commit

Permalink
Restore force flag for restore
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed May 28, 2015
1 parent e69580b commit 079f2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 1.7.1 - 28.05.2015
#### 1.7.2 - 28.05.2015
* New `--only-referenced` parameter for restore - https://github.com/fsprojects/Paket/pull/843
* Make the output path relative to the dependencies file - https://github.com/fsprojects/Paket/issues/829
* Analyze content files with case insensitive setting - https://github.com/fsprojects/Paket/issues/816
Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/PublicAPI.fs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ type Dependencies(dependenciesFileName: string) =
/// Restores packages for all available paket.references files
/// (or all packages if onlyReferenced is false)
member this.Restore(force, onlyReferenced: bool): unit =
if not onlyReferenced then this.Restore() else
if not onlyReferenced then this.Restore(force,[]) else
let referencesFiles =
this.RootPath
|> ProjectFile.FindAllProjects
Expand Down

0 comments on commit 079f2a3

Please sign in to comment.