Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe committed Jan 7, 2019
1 parent 6b55e92 commit 7cb101c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/Lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Lock {

/**
* Run promise with lock. Parallel promises will be postponed until previous is fulfilled.
* @param {Function<Promise>}then
* @param {Function<Promise>}then Promise function to be call
* @return {Promise} resolves/rejects argument given "then"
*/
withLock(then) {
Expand Down
4 changes: 3 additions & 1 deletion test/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const sinon = require('sinon');
const querystring = require('querystring');

const Query = require('../../src/utils/rest/mongooseQueryClient');
const {retryUpdate, objectMerge, notImplemented, Lock} = require('../../src/utils');
const {
retryUpdate, objectMerge, notImplemented, Lock
} = require('../../src/utils');

const toUrl = querystring.stringify;

Expand Down

0 comments on commit 7cb101c

Please sign in to comment.