Don't blow up on missing settings

This commit is contained in:
James Allen 2015-02-26 12:13:56 +00:00
parent 6d64d6b57e
commit 049c4d49c1

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: