diff --git a/lib/core/notes_folder_fs.dart b/lib/core/notes_folder_fs.dart index 0122b978..65f494f6 100644 --- a/lib/core/notes_folder_fs.dart +++ b/lib/core/notes_folder_fs.dart @@ -8,6 +8,7 @@ import 'package:path/path.dart'; import 'package:synchronized/synchronized.dart'; import 'package:gitjournal/settings.dart'; +import 'package:gitjournal/utils/logger.dart'; import 'note.dart'; import 'notes_folder.dart'; import 'notes_folder_notifier.dart'; @@ -200,6 +201,7 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder { Future _load() async { var ignoreFilePath = p.join(folderPath, ".gjignore"); if (File(ignoreFilePath).existsSync()) { + Log.i("Ignoring $folderPath as it has .gjignore"); return; } Set pathsFound = {};