You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@@ -24,7 +24,7 @@ class InteropService_Exporter_Jex extends InteropService_Exporter_Base {
|
||||
|
||||
async close() {
|
||||
const stats = await shim.fsDriver().readDirStats(this.tempDir_, { recursive: true });
|
||||
const filePaths = stats.filter(a => !a.isDirectory()).map(a => a.path);
|
||||
const filePaths = stats.filter((a) => !a.isDirectory()).map((a) => a.path);
|
||||
|
||||
if (!filePaths.length) throw new Error(_('There is no data to export.'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user