Don't blow up on missing settings

This commit is contained in:
James Allen 2015-02-26 12:13:56 +00:00
parent 4d01a54391
commit 2a03e4822d

View file

@ -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: