1
0
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:
Ben Hardill 2022-04-21 13:52:38 +01:00
parent 812efde342
commit 0014fec63f
No known key found for this signature in database
GPG Key ID: 74DD076979ABB1E7

View File

@ -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) {