NpmSettingsExtensions.

FromPath(NpmSettings, DirectoryPath) Method

Summary

Sets the working directory which should be used to run the npm command.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmSettingsExtensions

Syntax

public static NpmSettings FromPath(this NpmSettings settings, DirectoryPath path)

Parameters

Name Type Description
settings NpmSettings The settings.
path DirectoryPath Working directory which should be used to run the npm command.

Return Value

Type Description
NpmSettings The settings instance with WorkingDirectory set to path.