1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-05-31 22:29:43 +02:00

Fixed regression

This commit is contained in:
Laurent Cozic 2019-05-13 09:50:39 +01:00
parent 3d333bd8f2
commit 173cd6de4d

View File

@ -9,7 +9,7 @@ const script = {};
script.exec = async function() { script.exec = async function() {
const stats = await shim.fsDriver().readDirStats(Setting.value('resourceDir')); const stats = await shim.fsDriver().readDirStats(Setting.value('resourceDir'));
const queries = []; let queries = [];
for (const stat of stats) { for (const stat of stats) {
if (fileExtension(stat.path) === 'crypted') continue; if (fileExtension(stat.path) === 'crypted') continue;
const resourceId = Resource.pathToId(stat.path); const resourceId = Resource.pathToId(stat.path);