Skip to content

Commit

Permalink
fix bug with preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
pleary committed Jul 21, 2017
1 parent fcb0d7d commit 6185a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ var util = class util {
}

static preferencesToHash( preferences ) {
return _.object( _.map( preferences, p => ( [p.name, p.value] ) ) );
return _.object( _.map( _.compact( preferences ), p => ( [p.name, p.value] ) ) );
}

};
Expand Down

0 comments on commit 6185a3c

Please sign in to comment.