You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-18 23:07:45 +02:00
Revert "All: Add support for sync target lock"
This reverts commit 51235f191d
.
Not ready yet, moving to a branch
This commit is contained in:
@ -128,7 +128,6 @@ class FileApi {
|
||||
if (!options) options = {};
|
||||
if (!('includeHidden' in options)) options.includeHidden = false;
|
||||
if (!('context' in options)) options.context = null;
|
||||
if (!('includeDirs' in options)) options.includeDirs = true;
|
||||
|
||||
this.logger().debug(`list ${this.baseDir()}`);
|
||||
|
||||
@ -142,10 +141,6 @@ class FileApi {
|
||||
result.items = temp;
|
||||
}
|
||||
|
||||
if (!options.includeHidden) {
|
||||
result.items = result.items.filter(f => !f.isDir);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user