Преглед изворни кода

Don't blow up on missing settings

James Allen пре 11 година
родитељ
комит
32267e3ab2
1 измењених фајлова са 1 додато и 1 уклоњено
  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: