Skip to content

Commit 7c3a146

Browse files
author
Hans Kristian Flaatten
committed
fix(jshint): rewrite internal __no_skip__ constant in camel case
1 parent f344973 commit 7c3a146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let request = module.exports._requestDefaults();
4343
query.limit = query.limit || 50;
4444
query.sort = query.sort || '_id';
4545

46-
const __no_skip__ = !!query.__no_skip__;
46+
const noSkip = !!query.__no_skip__;
4747
delete query.__no_skip__;
4848

4949
module.exports[type](query, function typeCb(typeErr, res, body) {
@@ -56,7 +56,7 @@ let request = module.exports._requestDefaults();
5656
return done(null);
5757
}
5858

59-
if (!__no_skip__) {
59+
if (!noSkip) {
6060
query.skip += query.limit;
6161
}
6262

0 commit comments

Comments
 (0)