Przeglądaj źródła

Don't blow up on missing settings

James Allen 11 lat temu
rodzic
commit
049c4d49c1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      server-ce/Gruntfile.coffee

+ 1 - 1
server-ce/Gruntfile.coffee

@@ -88,7 +88,7 @@ module.exports = (grunt) ->
 
 		shell:
 			migrate:
-				command: "./node_modules/east/bin/east migrate --adapter east-mongo --url #{settings.mongo.url}"
+				command: "./node_modules/east/bin/east migrate --adapter east-mongo --url #{settings?.mongo?.url}"
 
 		availabletasks:
 			tasks: