File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ exports.User = {
132132 return {
133133 users,
134134 cursor : offset + limit ,
135- page : Math . floor ( offset / limit + 1 ) ,
135+ page : Math . floor ( ( offset / limit ) + 1 ) ,
136136 pages : Math . ceil ( length / limit ) ,
137137 } ;
138138 } ) ;
@@ -261,7 +261,7 @@ exports.User = {
261261 */
262262 handleAudience ( pipeline , key , metadata ) {
263263 const $remove = metadata . $remove ;
264- const $removeOps = $remove && $remove . length || 0 ;
264+ const $removeOps = ( $remove && $remove . length || 0 ) ;
265265 if ( $removeOps > 0 ) {
266266 pipeline . hdel ( key , $remove ) ;
267267 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ COMPOSE="docker-compose -f $DC"
1616
1717if ! [ -x " $( which docker-compose) " ]; then
1818 mkdir $DIR /.bin
19- curl -L https://github.com/docker/compose/releases/download/1.7.1 /docker-compose-` uname -s` -` uname -m` > $DIR /.bin/docker-compose
19+ curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VER} /docker-compose-` uname -s` -` uname -m` > $DIR /.bin/docker-compose
2020 chmod +x $DIR /.bin/docker-compose
2121fi
2222
You can’t perform that action at this time.
0 commit comments