Explorar el Código

Don't blow up on missing settings

James Allen hace 11 años
padre
commit
2a03e4822d
Se han modificado 1 ficheros con 1 adiciones y 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: