mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove test that exits if no userDir defined
With the storage plugins it is possible to not need a userDir, just a settings.js
This commit is contained in:
parent
812efde342
commit
0014fec63f
5
packages/node_modules/node-red/red.js
vendored
5
packages/node_modules/node-red/red.js
vendored
@ -321,11 +321,6 @@ httpsPromise.then(function(startupHttps) {
|
||||
settings.userDir = parsedArgs.userDir;
|
||||
}
|
||||
|
||||
if (!settings.userDir) {
|
||||
console.log("No Node-RED userDir set, exiting")
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
try {
|
||||
RED.init(server,settings);
|
||||
} catch(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user