diff --git a/red/red.js b/red/red.js index b56323ee3..e9924a43e 100644 --- a/red/red.js +++ b/red/red.js @@ -40,6 +40,11 @@ function checkBuild() { module.exports = { init: function(httpServer,userSettings) { + if (!userSettings) { + userSettings = httpServer; + httpServer = null; + } + if (!userSettings.SKIP_BUILD_CHECK) { checkBuild(); }