1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

First pass at linting lib dir

This commit is contained in:
Laurent Cozic
2019-07-29 15:43:53 +02:00
parent 64b7bc3d62
commit 86dc72b204
170 changed files with 4140 additions and 3119 deletions

View File

@ -1,5 +1,4 @@
class Cache {
async getItem(name) {
let output = null;
try {
@ -22,7 +21,6 @@ class Cache {
// Defaults to not saving to cache
}
}
}
Cache.storage = async function() {
@ -30,6 +28,6 @@ Cache.storage = async function() {
Cache.storage_ = require('node-persist');
await Cache.storage_.init({ dir: require('os').tmpdir() + '/joplin-cache', ttl: 1000 * 60 });
return Cache.storage_;
}
};
module.exports = Cache;
module.exports = Cache;