1
0
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:
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

@@ -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;