소스 검색

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: