faastjs.includeoption.cwd.md
April 11, 2023 ยท View on GitHub
faastjs > IncludeOption > cwd
IncludeOption.cwd property
The working directory if path is relative. Defaults to process.cwd(). For example, if cwd is "foo" and path is "bar", then the contents of the directory foo/bar/ will be added to the remote function under the path bar/.
Signature:
cwd?: string;