You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
First pass at linting lib dir
This commit is contained in:
@@ -11,7 +11,7 @@ script.exec = async function() {
|
||||
|
||||
let queries = [];
|
||||
for (const stat of stats) {
|
||||
if (fileExtension(stat.path) === 'crypted') continue;
|
||||
if (fileExtension(stat.path) === 'crypted') continue;
|
||||
const resourceId = Resource.pathToId(stat.path);
|
||||
if (!resourceId) continue;
|
||||
|
||||
@@ -24,6 +24,6 @@ script.exec = async function() {
|
||||
}
|
||||
|
||||
await reg.db().transactionExecBatch(queries);
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = script;
|
||||
module.exports = script;
|
||||
|
||||
Reference in New Issue
Block a user