From ef85555b6bcada771bb0367d4660f2f9c8798ae5 Mon Sep 17 00:00:00 2001 From: cr7pt0gr4ph7 Date: Thu, 28 May 2015 17:45:30 +0200 Subject: [PATCH] Fix inconsistent parameter names of Dependencies.Add and dependencies.AddToProject. --- src/Paket.Core/PublicAPI.fs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Paket.Core/PublicAPI.fs b/src/Paket.Core/PublicAPI.fs index 9643d01095..cd0980e65f 100644 --- a/src/Paket.Core/PublicAPI.fs +++ b/src/Paket.Core/PublicAPI.fs @@ -113,11 +113,11 @@ type Dependencies(dependenciesFileName: string) = this.Add(package, version, force, hard, false, interactive, installAfter) /// Adds the given package with the given version to the dependencies file. - member this.Add(package: string,version: string,force: bool,hard: bool,redirects: bool,interactive: bool,installAfter: bool): unit = + member this.Add(package: string,version: string,force: bool,hard: bool,withBindingRedirects: bool,interactive: bool,installAfter: bool): unit = Utils.RunInLockedAccessMode( this.RootPath, fun () -> AddProcess.Add(dependenciesFileName, PackageName(package.Trim()), version, - InstallerOptions.createLegacyOptions(force, hard, redirects), + InstallerOptions.createLegacyOptions(force, hard, withBindingRedirects), interactive, installAfter)) /// Adds the given package with the given version to the dependencies file. @@ -125,11 +125,11 @@ type Dependencies(dependenciesFileName: string) = this.AddToProject(package, version, force, hard, false, projectName, installAfter) /// Adds the given package with the given version to the dependencies file. - member this.AddToProject(package: string,version: string,force: bool,hard: bool,redirects: bool,projectName: string,installAfter: bool): unit = + member this.AddToProject(package: string,version: string,force: bool,hard: bool,withBindingRedirects: bool,projectName: string,installAfter: bool): unit = Utils.RunInLockedAccessMode( this.RootPath, fun () -> AddProcess.AddToProject(dependenciesFileName, PackageName package, version, - InstallerOptions.createLegacyOptions(force, hard, redirects), + InstallerOptions.createLegacyOptions(force, hard, withBindingRedirects), projectName, installAfter)) /// Adds credentials for a Nuget feed