mirror of https://github.com/node-red/node-red.git
Remove test that exits if no userDir defined
With the storage plugins it is possible to not need a userDir, just a settings.jspull/3540/head
parent
812efde342
commit
0014fec63f
|
@ -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