Skip to content

docs: clarify nodesDir accepts an array of paths - #433

Merged
dceejay merged 1 commit into
node-red:mainfrom
Bryandero98:1131-document-nodesdir-array
Sep 7, 2026
Merged

dceejay merged 1 commit into
node-red:mainfrom
Bryandero98:1131-document-nodesdir-array

Conversation

@Bryandero98

Copy link
Copy Markdown
Contributor

Related issue

node-red/node-red#1131

What changed

The nodesDir entry in the configuration reference only said "a directory", but the runtime has accepted an array of paths since 0b8e8de2 (0.7.0, April 2014) — verified in localfilesystem.js (node-red/node-red), which normalizes the setting with:

nodesDir = Array.isArray(settings.nodesDir) ? settings.nodesDir : [settings.nodesDir]

This was the second of the two spots the issue points at. Companion fix to the settings.js comment: node-red/node-red#5925.

🤖 Generated with Claude Code

The configuration reference only mentioned "a directory", but the
runtime has accepted an array of paths since 0.7.0 (April 2014) -
verified against localfilesystem.js in node-red/node-red, which
normalizes the setting to an array either way. Companion fix to the
settings.js comment in node-red/node-red#5925.

Fixes node-red/node-red#1131

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Bryandero98 / name: Bryandero98 (7ce7fbd)

@dceejay
dceejay merged commit e99c327 into node-red:main Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants