NpmInstallSettingsExtensions.

WithForce(NpmInstallSettings, bool) Method

Summary

Defines whether npm should fetch remote resources even if a local copy exists on disk.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Install
Containing Type
NpmInstallSettingsExtensions

Syntax

public static NpmInstallSettings WithForce(this NpmInstallSettings settings, bool value)

Parameters

Name Type Description
settings NpmInstallSettings The settings.
value bool Value which should be set.

Return Value

Type Description
NpmInstallSettings The settings instance with Force set to value.