Add flag to disable build check for tests

This commit is contained in:
Nick O'Leary
2015-07-22 11:41:58 +01:00
parent a76e4fede1
commit eb57089f06
2 changed files with 7 additions and 4 deletions

View File

@@ -43,7 +43,9 @@ function checkBuild() {
var RED = {
init: function(httpServer,userSettings) {
checkBuild();
if (!userSettings.SKIP_BUILD_CHECK) {
checkBuild();
}
userSettings.version = this.version();
log.init(userSettings);
settings.init(userSettings);