lint compliance

This commit is contained in:
ansuz
2020-02-17 10:30:44 -05:00
parent 5dff6535ed
commit e8949168ec
2 changed files with 3 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ const WriteQueue = require("./write-queue");
const BatchRead = require("./batch-read");
const RPC = require("./rpc");
const HK = require("./hk-util.js");
const Core = require("./commands/core");
const Store = require("./storage/file");
const BlobStore = require("./storage/blob");
@@ -54,7 +55,6 @@ module.exports.create = function (config, cb) {
limits: {},
admins: [],
Log: Log,
WARN: WARN,
flushCache: config.flushCache,
adminEmail: config.adminEmail,
@@ -149,7 +149,7 @@ module.exports.create = function (config, cb) {
blobStagingPath: config.blobStagingPath,
archivePath: config.archivePath,
getSession: function (safeKey) {
return Core.getSession(Sessions, safeKey);
return Core.getSession(Env.Sessions, safeKey);
},
}, w(function (err, blob) {
if (err) { throw new Error(err); }