mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3149 from hardillb/coreNodesDir-false
Allow coreNodesDir to be set to false
This commit is contained in:
commit
e638b55b30
2
packages/node_modules/node-red/lib/red.js
vendored
2
packages/node_modules/node-red/lib/red.js
vendored
@ -61,7 +61,7 @@ module.exports = {
|
||||
checkVersion(userSettings);
|
||||
}
|
||||
|
||||
if (!userSettings.coreNodesDir) {
|
||||
if (!userSettings.hasOwnProperty("coreNodesDir")) {
|
||||
userSettings.coreNodesDir = path.dirname(require.resolve("@node-red/nodes"))
|
||||
}
|
||||
redUtil.init(userSettings);
|
||||
|
Loading…
Reference in New Issue
Block a user