Explorar o código

Don't blow up on missing settings

James Allen %!s(int64=11) %!d(string=hai) anos
pai
achega
2a03e4822d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gruntfile.coffee

+ 1 - 1
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: