Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
samtstern committed Oct 6, 2017
1 parent c2e33bb commit 8cb09de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deploy/firestore/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function _prepareRules(context, options) {
}

function _prepareIndexes(context, options) {
if (!(context.firestoreIndexes && options.config.get('firestore.indexes'))) {
if (!context.firestoreIndexes || !options.config.get('firestore.indexes')) {
return RSVP.resolve();
}

Expand Down

0 comments on commit 8cb09de

Please sign in to comment.