Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Charette authored and Frederic Charette committed Dec 16, 2021
1 parent 9e8cfe4 commit 348d757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function queryBuffer(config, emitter, targetStore) {
}
}

const getHandles = (async function (key, ids, params, context) {
const getHandles = (async function(key, ids, params, context) {
const handles = Array.from(new Array(ids.length));

if (config.cache !== null) {
Expand Down
6 changes: 3 additions & 3 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const lru = require('lru-cache');
/* Methods -------------------------------------------------------------------*/

function localStore(config) {
const store = new lru({
max: config.cache.limit,
maxAge: config.cache.ttl,
const store = new lru({
max: config.cache.limit,
maxAge: config.cache.ttl,
});

function get(key) {
Expand Down

0 comments on commit 348d757

Please sign in to comment.