You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Linter
This commit is contained in:
@ -96,7 +96,7 @@ export default class ResourceEditWatcher {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleChangeEvent = async (path:string) => {
|
const handleChangeEvent = async (path:string) => {
|
||||||
this.logger().debug('ResourceEditWatcher: handleChangeEvent: ' + path);
|
this.logger().debug(`ResourceEditWatcher: handleChangeEvent: ${path}`);
|
||||||
|
|
||||||
const watchedItem = this.watchedItemByPath(path);
|
const watchedItem = this.watchedItemByPath(path);
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ export default class ResourceEditWatcher {
|
|||||||
this.logger().debug(`ResourceEditWatcher: Queuing save action: ${resourceId}`);
|
this.logger().debug(`ResourceEditWatcher: Queuing save action: ${resourceId}`);
|
||||||
watchedItem.asyncSaveQueue.push(makeSaveAction(resourceId, path));
|
watchedItem.asyncSaveQueue.push(makeSaveAction(resourceId, path));
|
||||||
watchedItem.lastFileUpdatedTime = editedFileUpdatedTime;
|
watchedItem.lastFileUpdatedTime = editedFileUpdatedTime;
|
||||||
}
|
};
|
||||||
|
|
||||||
if (!this.watcher_) {
|
if (!this.watcher_) {
|
||||||
this.watcher_ = this.chokidar_.watch(fileToWatch);
|
this.watcher_ = this.chokidar_.watch(fileToWatch);
|
||||||
|
Reference in New Issue
Block a user