This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Sets the working directory which should be used to run the npm command.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm - Containing Type
- Npm
Settings Extensions
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. |