You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
First pass at linting lib dir
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user