Merge pull request #2932 from node-red/file-cwd-setting

File node: Add fileWorkingDirectory to customise how relative paths are resolved
This commit is contained in:
Nick O'Leary
2021-04-27 10:49:02 +01:00
committed by GitHub
3 changed files with 75 additions and 10 deletions

View File

@@ -53,6 +53,10 @@ module.exports = {
// defaults to 10Mb
//execMaxBufferSize: 10000000,
// The working directory to handle relative file paths from within the File nodes
// defaults to the working directory of the Node-RED process.
//fileWorkingDirectory: "",
// The maximum length, in characters, of any message sent to the debug sidebar tab
debugMaxLength: 1000,