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
1 changed files with 0 additions and 5 deletions

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