mirror of
https://github.com/laurent22/joplin.git
synced 2025-05-31 22:29:43 +02:00
Fixed regression
This commit is contained in:
parent
3d333bd8f2
commit
173cd6de4d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user