瀏覽代碼

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: